Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance,fileNamePrefix="IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomFourElementsTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance,fileNamePrefix="IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomFourElementsTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005152/0.005152, allocations: 100.7 kB / 15.73 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001413/0.001413, allocations: 196.8 kB / 16.67 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.302/1.302, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7921/0.7921, allocations: 135.1 MB / 425.7 MB, free: 4.094 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 59.48 kB / 0.5851 GB, free: 21.95 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1737/0.175, allocations: 80.93 MB / 0.6642 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance): time 0.6594/0.8345, allocations: 202.1 MB / 0.8615 GB, free: 4.309 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02807/0.8626, allocations: 15.12 MB / 0.8763 GB, free: 6.195 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005738/0.8684, allocations: 99.56 kB / 0.8764 GB, free: 6.098 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.004424/0.8729, allocations: 1.309 MB / 0.8777 GB, free: 4.781 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01076/0.8837, allocations: 2.638 MB / 0.8802 GB, free: 2.133 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.007608/0.8913, allocations: 2.19 MB / 0.8824 GB, free: 15.96 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01147/0.9028, allocations: 6.7 MB / 0.8889 GB, free: 9.246 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01158/0.9144, allocations: 5.527 MB / 0.8943 GB, free: 3.633 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006327/0.9208, allocations: 2.648 MB / 0.8969 GB, free: 0.9766 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006538/0.9274, allocations: 3.108 MB / 0.8999 GB, free: 13.86 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.002464/0.9299, allocations: 0.5703 MB / 0.9005 GB, free: 13.29 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006055/0.9359, allocations: 1.946 MB / 0.9024 GB, free: 11.34 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.003243/0.9392, allocations: 1.609 MB / 0.904 GB, free: 9.73 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.005875/0.9451, allocations: 2.655 MB / 0.9066 GB, free: 7.062 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01348/0.9586, allocations: 7.758 MB / 0.9141 GB, free: 15.28 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.9587, allocations: 3.938 kB / 0.9141 GB, free: 15.27 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.475e-06/0.9587, allocations: 0 / 0.9141 GB, free: 15.27 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0003074/0.959, allocations: 0 / 0.9141 GB, free: 15.27 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.01708/0.9761, allocations: 5.632 MB / 0.9196 GB, free: 9.559 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/0.9761, allocations: 9.109 kB / 0.9197 GB, free: 9.551 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001852/0.978, allocations: 0.5596 MB / 0.9202 GB, free: 8.98 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0157/0.9937, allocations: 2.993 MB / 0.9231 GB, free: 5.977 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008601/1.002, allocations: 2.737 MB / 0.9258 GB, free: 3.164 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004365/1.003, allocations: 312.2 kB / 0.9261 GB, free: 2.855 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001838/1.005, allocations: 407.9 kB / 0.9265 GB, free: 2.457 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01882/1.024, allocations: 6.23 MB / 0.9326 GB, free: 12.12 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001658/1.024, allocations: 0 / 0.9326 GB, free: 12.12 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00126/1.025, allocations: 171.9 kB / 0.9327 GB, free: 11.95 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002066/1.025, allocations: 144 kB / 0.9329 GB, free: 11.81 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0196/1.045, allocations: 7.325 MB / 0.94 GB, free: 4.461 MB / 0.7012 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04142/1.086, allocations: 18.76 MB / 0.9583 GB, free: 0.9453 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01097/1.097, allocations: 4.801 MB / 0.963 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006964/1.104, allocations: 3.168 MB / 0.9661 GB, free: 8.961 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001239/1.106, allocations: 0.7052 MB / 0.9668 GB, free: 8.125 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007652/1.113, allocations: 2.94 MB / 0.9697 GB, free: 5.152 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=345): time 6.503e-06/1.113, allocations: 0 / 0.9697 GB, free: 5.152 MB / 0.7325 GB Notification: Performance of matching and sorting (n=347): time 0.04508/1.158, allocations: 16.23 MB / 0.9855 GB, free: 4.727 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000152/1.159, allocations: 218.7 kB / 0.9857 GB, free: 4.469 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005262/1.164, allocations: 2.903 MB / 0.9886 GB, free: 1.547 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0006913/1.165, allocations: 85.7 kB / 0.9887 GB, free: 1.457 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.001727/1.166, allocations: 1.692 MB / 0.9903 GB, free: 15.75 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.001592/1.168, allocations: 1.151 MB / 0.9914 GB, free: 14.58 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001942/1.17, allocations: 0.5649 MB / 0.992 GB, free: 14.01 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001125/1.17, allocations: 301.1 kB / 0.9923 GB, free: 13.71 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00564/1.176, allocations: 2.316 MB / 0.9945 GB, free: 11.39 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005966/1.182, allocations: 2.68 MB / 0.9971 GB, free: 8.633 MB / 0.7637 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: thermalZoneFourElements.volAir.dynBal.medium.p = thermalZoneFourElements.volAir.dynBal.p_start (sinAir.p = thermalZoneFourElements.volAir.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.794/1.976, allocations: 86.6 MB / 1.082 GB, free: 315.3 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.867e-06/1.976, allocations: 1.281 kB / 1.082 GB, free: 315.3 MB / 0.8262 GB Notification: Performance of matching and sorting (n=378) (initialization): time 0.01413/1.99, allocations: 6.158 MB / 1.088 GB, free: 313.4 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.577e-05/1.99, allocations: 32.98 kB / 1.088 GB, free: 313.4 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.963e-05/1.99, allocations: 4.719 kB / 1.088 GB, free: 313.4 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001853/1.992, allocations: 0.8183 MB / 1.089 GB, free: 313.2 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004122/1.996, allocations: 0.8604 MB / 1.089 GB, free: 313.2 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008977/2.005, allocations: 7.494 MB / 1.097 GB, free: 309 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004406/2.009, allocations: 437.5 kB / 1.097 GB, free: 309 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004331/2.01, allocations: 121.6 kB / 1.097 GB, free: 308.9 MB / 0.8262 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: thermalZoneFourElements.volAir.dynBal.medium.p = thermalZoneFourElements.volAir.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 16 ($PRE.intGai.nextTimeEvent,$whenCondition2,$PRE.traSub.count,$PRE.traSub.T_start,traSub.count,traSub.T_start,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (313): * Single equations (assignments): 311 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(5,60,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00238/2.012, allocations: 1.138 MB / 1.098 GB, free: 308.4 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006924/2.013, allocations: 340.2 kB / 1.099 GB, free: 308.4 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0142/2.027, allocations: 6.771 MB / 1.105 GB, free: 305.2 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.053e-05/2.027, allocations: 37.72 kB / 1.105 GB, free: 305.2 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.745e-05/2.027, allocations: 11.34 kB / 1.105 GB, free: 305.2 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01082/2.038, allocations: 5.911 MB / 1.111 GB, free: 301.9 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01963/2.058, allocations: 11.73 MB / 1.123 GB, free: 292.2 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.265e-05/2.058, allocations: 4.469 kB / 1.123 GB, free: 292.2 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003729/2.061, allocations: 0.8568 MB / 1.123 GB, free: 291.3 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001305/2.063, allocations: 0.7 MB / 1.124 GB, free: 290.6 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002494/2.063, allocations: 95.92 kB / 1.124 GB, free: 290.5 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008486/2.071, allocations: 10.05 MB / 1.134 GB, free: 280.2 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/2.071, allocations: 4 kB / 1.134 GB, free: 280.1 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01695/2.088, allocations: 9.805 MB / 1.144 GB, free: 270.2 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002369/2.091, allocations: 0.9185 MB / 1.144 GB, free: 269.3 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008684/2.092, allocations: 85.03 kB / 1.145 GB, free: 269.2 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003717/2.095, allocations: 423.2 kB / 1.145 GB, free: 268.8 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000605/2.096, allocations: 262.2 kB / 1.145 GB, free: 268.5 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003148/2.096, allocations: 119.9 kB / 1.145 GB, free: 268.4 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.004152/2.101, allocations: 2.103 MB / 1.147 GB, free: 266.3 MB / 0.8262 GB Notification: Performance of sort global known variables: time 3.1e-07/2.101, allocations: 0 / 1.147 GB, free: 266.3 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.005116/2.106, allocations: 1.094 MB / 1.148 GB, free: 265.2 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 7 (thermalZoneFourElements.volAir.dynBal.U,thermalZoneFourElements.volAir.dynBal.mXi[1],thermalZoneFourElements.volAir.dynBal.mC[1],thermalZoneFourElements.extWallRC.thermCapExt[1].T,thermalZoneFourElements.intWallRC.thermCapInt[1].T,thermalZoneFourElements.floorRC.thermCapExt[1].T,thermalZoneFourElements.roofRC.thermCapExt[1].T) * Number of discrete variables: 10 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext,intGai.nextTimeEvent,intGai.nextTimeEventScaled,traSub.T_start,traSub.count) * Number of discrete states: 5 (intGai.nextTimeEvent,traSub.count,intGai.nextTimeEventScaled,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (304): * Single equations (assignments): 295 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,49,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02042/2.126, allocations: 11.33 MB / 1.16 GB, free: 254.2 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.01165/2.138, allocations: 5.908 MB / 1.165 GB, free: 248.3 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.079e-05/2.138, allocations: 0 / 1.165 GB, free: 248.3 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.006786/2.145, allocations: 3.549 MB / 1.169 GB, free: 244.7 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005952/2.151, allocations: 1.027 MB / 1.17 GB, free: 243.7 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0685/2.219, allocations: 36.36 MB / 1.205 GB, free: 207 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003371/2.223, allocations: 2.92 MB / 1.208 GB, free: 204 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.004714/2.227, allocations: 1.278 MB / 1.209 GB, free: 202.8 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002868/2.23, allocations: 1.819 MB / 1.211 GB, free: 200.9 MB / 0.8262 GB Notification: Performance of SimCode: time 9.11e-07/2.23, allocations: 0 / 1.211 GB, free: 200.9 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1347/2.365, allocations: 94.75 MB / 1.304 GB, free: 106.8 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.84/19.2, allocations: 22.22 kB / 1.304 GB, free: 106.8 MB / 0.8262 GB (rm -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.pipe ; mkfifo IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.pipe >> ../files/IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomFourElementsTraceSubstance_fmu --startTime=0 --stopTime=604800 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomFourElementsTraceSubstance.fmu > IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.pipe 2>&1)