Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.SimpleRoomTwoElements,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomTwoElements",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomTwoElements",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.006943/0.006943, allocations: 99.89 kB / 15.73 MB, free: 6.027 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.001651/0.001651, allocations: 187 kB / 16.67 MB, free: 5.969 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.34/1.34, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7718/0.7718, allocations: 132.2 MB / 422.7 MB, free: 1.691 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 58.17 kB / 0.5808 GB, free: 1.316 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1868/0.1881, allocations: 80.22 MB / 0.6592 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements): time 0.671/0.8592, allocations: 160.8 MB / 0.8162 GB, free: 2.703 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.03829/0.8975, allocations: 26.77 MB / 0.8423 GB, free: 2.512 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005821/0.9034, allocations: 77.06 kB / 0.8424 GB, free: 2.512 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0029/0.9065, allocations: 1.013 MB / 0.8434 GB, free: 2.496 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.006412/0.9129, allocations: 1.675 MB / 0.845 GB, free: 2.445 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.005213/0.9181, allocations: 1.704 MB / 0.8467 GB, free: 2.41 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.007002/0.9251, allocations: 4.828 MB / 0.8514 GB, free: 2.402 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006408/0.9316, allocations: 4.262 MB / 0.8555 GB, free: 1.969 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004762/0.9364, allocations: 2.037 MB / 0.8575 GB, free: 1.969 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004795/0.9412, allocations: 2.453 MB / 0.8599 GB, free: 1.586 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001727/0.9429, allocations: 454.3 kB / 0.8604 GB, free: 1.582 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004043/0.947, allocations: 1.053 MB / 0.8614 GB, free: 1.562 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001985/0.949, allocations: 1.167 MB / 0.8625 GB, free: 1.414 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.003418/0.9524, allocations: 2.033 MB / 0.8645 GB, free: 0.8164 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.008533/0.961, allocations: 5.814 MB / 0.8702 GB, free: 0 / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 9.027e-06/0.961, allocations: 240 / 0.8702 GB, free: 0 / 0.6387 GB Notification: Performance of FrontEnd: time 2.144e-06/0.961, allocations: 0.9062 kB / 0.8702 GB, free: 0 / 0.6387 GB Notification: Performance of Transformations before backend: time 0.000239/0.9613, allocations: 2.531 kB / 0.8702 GB, free: 0 / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 826 * Number of variables: 826 Notification: Performance of Generate backend data structure: time 0.01355/0.9748, allocations: 4.496 MB / 0.8746 GB, free: 13.6 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.678e-05/0.9749, allocations: 10.44 kB / 0.8746 GB, free: 13.6 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007531/0.9757, allocations: 454.5 kB / 0.875 GB, free: 13.34 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01354/0.9892, allocations: 2.772 MB / 0.8777 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005702/0.995, allocations: 2.291 MB / 0.88 GB, free: 11.81 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002004/0.9952, allocations: 244 kB / 0.8802 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009076/0.9961, allocations: 312 kB / 0.8805 GB, free: 11.6 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01265/1.009, allocations: 5.143 MB / 0.8855 GB, free: 8.652 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.479e-05/1.009, allocations: 2.531 kB / 0.8855 GB, free: 8.652 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004227/1.009, allocations: 132.7 kB / 0.8856 GB, free: 8.551 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.386e-05/1.009, allocations: 80.59 kB / 0.8857 GB, free: 8.547 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01629/1.026, allocations: 6.288 MB / 0.8919 GB, free: 5.484 MB / 0.6544 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.03542/1.061, allocations: 14.42 MB / 0.906 GB, free: 8.066 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0119/1.073, allocations: 4.521 MB / 0.9104 GB, free: 3.559 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005888/1.079, allocations: 2.451 MB / 0.9128 GB, free: 1.102 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001129/1.08, allocations: 0.674 MB / 0.9134 GB, free: 324 kB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006583/1.087, allocations: 2.454 MB / 0.9158 GB, free: 13.82 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=270): time 5.931e-06/1.087, allocations: 0 / 0.9158 GB, free: 13.82 MB / 0.6856 GB Notification: Performance of matching and sorting (n=270): time 0.02187/1.109, allocations: 7.544 MB / 0.9232 GB, free: 6.176 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001371/1.109, allocations: 206 kB / 0.9234 GB, free: 5.93 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004458/1.113, allocations: 2.397 MB / 0.9257 GB, free: 3.504 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0009512/1.114, allocations: 73.7 kB / 0.9258 GB, free: 3.426 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001659/1.116, allocations: 1.359 MB / 0.9271 GB, free: 2.051 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.001759/1.118, allocations: 0.8949 MB / 0.928 GB, free: 1.164 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002158/1.12, allocations: 476.4 kB / 0.9284 GB, free: 0.6914 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001069/1.12, allocations: 309 kB / 0.9287 GB, free: 396 kB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005098/1.125, allocations: 1.948 MB / 0.9306 GB, free: 14.43 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005802/1.131, allocations: 2.267 MB / 0.9329 GB, free: 12.08 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01113/1.142, allocations: 4.205 MB / 0.937 GB, free: 7.805 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-05/1.142, allocations: 4 kB / 0.937 GB, free: 7.801 MB / 0.7012 GB Notification: Performance of matching and sorting (n=300) (initialization): time 0.01506/1.157, allocations: 4.913 MB / 0.9418 GB, free: 2.871 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.472e-05/1.157, allocations: 6.188 kB / 0.9418 GB, free: 2.867 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.702e-05/1.157, allocations: 7.938 kB / 0.9418 GB, free: 2.859 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00104/1.158, allocations: 346.1 kB / 0.9421 GB, free: 2.52 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004482/1.163, allocations: 0.7767 MB / 0.9429 GB, free: 1.77 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005769/1.169, allocations: 4.244 MB / 0.947 GB, free: 13.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004478/1.173, allocations: 0.5284 MB / 0.9475 GB, free: 12.88 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009637/1.174, allocations: 99.92 kB / 0.9476 GB, free: 12.78 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.intGai.nextTimeEvent,$whenCondition1,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (270): * Single equations (assignments): 269 * Array equations: 0 * Algorithm blocks: 0 * 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 {(3,28,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003479/1.178, allocations: 0.9333 MB / 0.9485 GB, free: 11.86 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001543/1.179, allocations: 268.6 kB / 0.9488 GB, free: 11.6 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01543/1.195, allocations: 5.537 MB / 0.9542 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.949e-05/1.195, allocations: 31.98 kB / 0.9542 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.932e-05/1.195, allocations: 4 kB / 0.9542 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.871e-05/1.195, allocations: 15.94 kB / 0.9542 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02204/1.217, allocations: 9.294 MB / 0.9633 GB, free: 12.63 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.601e-05/1.217, allocations: 0 / 0.9633 GB, free: 12.63 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003976/1.221, allocations: 0.7307 MB / 0.964 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001216/1.222, allocations: 379 kB / 0.9644 GB, free: 11.55 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006352/1.223, allocations: 79.92 kB / 0.9645 GB, free: 11.47 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007047/1.23, allocations: 6.296 MB / 0.9706 GB, free: 4.898 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/1.23, allocations: 0 / 0.9706 GB, free: 4.898 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02001/1.25, allocations: 7.928 MB / 0.9784 GB, free: 12.89 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002633/1.253, allocations: 0.8055 MB / 0.9792 GB, free: 12.07 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00132/1.254, allocations: 59.84 kB / 0.9792 GB, free: 12.01 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003913/1.258, allocations: 387.4 kB / 0.9796 GB, free: 11.63 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006627/1.259, allocations: 177.9 kB / 0.9797 GB, free: 11.45 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005262/1.259, allocations: 99.92 kB / 0.9798 GB, free: 11.36 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.003894/1.263, allocations: 1.749 MB / 0.9815 GB, free: 9.594 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.3e-07/1.263, allocations: 4 kB / 0.9816 GB, free: 9.59 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.004326/1.267, allocations: 1.021 MB / 0.9826 GB, free: 8.566 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (thermalZoneTwoElements.volAir.dynBal.U,thermalZoneTwoElements.volAir.dynBal.m,thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T) * Number of discrete variables: 7 ($whenCondition3,$whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext,intGai.nextTimeEvent,intGai.nextTimeEventScaled) * Number of discrete states: 4 (intGai.nextTimeEvent,intGai.nextTimeEventScaled,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (254): * Single equations (assignments): 247 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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): 2 systems {(3,25,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02241/1.29, allocations: 9.406 MB / 0.9917 GB, free: 15.55 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.01158/1.301, allocations: 4.781 MB / 0.9964 GB, free: 10.75 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 6.642e-06/1.301, allocations: 0 / 0.9964 GB, free: 10.75 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.006004/1.307, allocations: 2.759 MB / 0.9991 GB, free: 8.016 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004176/1.312, allocations: 0.6796 MB / 0.9998 GB, free: 7.391 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06485/1.377, allocations: 28.91 MB / 1.028 GB, free: 10.24 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003751/1.38, allocations: 2.448 MB / 1.03 GB, free: 7.762 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.005495/1.386, allocations: 1.103 MB / 1.031 GB, free: 6.66 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003439/1.389, allocations: 1.436 MB / 1.033 GB, free: 5.223 MB / 0.795 GB Notification: Performance of SimCode: time 1.333e-06/1.389, allocations: 4 kB / 1.033 GB, free: 5.219 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1385/1.528, allocations: 71.24 MB / 1.102 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.64/19.17, allocations: 15.56 kB / 1.102 GB, free: 14.59 MB / 0.8731 GB (rm -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; mkfifo IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; head -c 1048576 < IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe >> ../files/IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomTwoElements_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomTwoElements.fmu > IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe 2>&1)