Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.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.SimpleRoomFourElements,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomFourElements",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomFourElements",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.007638/0.007639, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.001765/0.001765, allocations: 190.1 kB / 16.67 MB, free: 5.953 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.363/1.363, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7819/0.7819, allocations: 132.2 MB / 422.7 MB, free: 6.535 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 62.09 kB / 0.5808 GB, free: 24.11 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1633/0.1645, allocations: 80.21 MB / 0.6592 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements): time 0.5543/0.7189, allocations: 163.1 MB / 0.8184 GB, free: 9.332 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.03677/0.7557, allocations: 27.44 MB / 0.8452 GB, free: 3.059 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004479/0.7602, allocations: 91.88 kB / 0.8453 GB, free: 3.027 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.003098/0.7634, allocations: 1.139 MB / 0.8464 GB, free: 2.191 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.007482/0.7709, allocations: 1.877 MB / 0.8483 GB, free: 0.7539 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.005756/0.7767, allocations: 1.985 MB / 0.8502 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.009437/0.7861, allocations: 5.856 MB / 0.8559 GB, free: 11.63 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007119/0.7933, allocations: 4.886 MB / 0.8607 GB, free: 7.605 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005917/0.7992, allocations: 2.343 MB / 0.863 GB, free: 5.258 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005246/0.8045, allocations: 2.818 MB / 0.8657 GB, free: 2.43 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0011/0.8056, allocations: 0.5195 MB / 0.8662 GB, free: 1.91 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002899/0.8085, allocations: 1.128 MB / 0.8673 GB, free: 0.7812 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.001289/0.8098, allocations: 1.367 MB / 0.8687 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.003184/0.813, allocations: 2.395 MB / 0.871 GB, free: 13 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.007986/0.821, allocations: 6.749 MB / 0.8776 GB, free: 6.23 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.821, allocations: 4 kB / 0.8776 GB, free: 6.227 MB / 0.6387 GB Notification: Performance of FrontEnd: time 3.135e-06/0.821, allocations: 0 / 0.8776 GB, free: 6.227 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001341/0.8212, allocations: 7.938 kB / 0.8776 GB, free: 6.219 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 962 * Number of variables: 962 Notification: Performance of Generate backend data structure: time 0.01101/0.8322, allocations: 5.102 MB / 0.8826 GB, free: 1.039 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.8323, allocations: 8.031 kB / 0.8826 GB, free: 1.031 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006681/0.8329, allocations: 0.5143 MB / 0.8831 GB, free: 0.5078 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01366/0.8466, allocations: 2.834 MB / 0.8859 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005269/0.8519, allocations: 2.543 MB / 0.8884 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002362/0.8522, allocations: 279.5 kB / 0.8886 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008065/0.853, allocations: 367.9 kB / 0.889 GB, free: 10.41 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01334/0.8663, allocations: 5.743 MB / 0.8946 GB, free: 4.609 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.194e-05/0.8665, allocations: 0 / 0.8946 GB, free: 4.609 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005951/0.8671, allocations: 152 kB / 0.8947 GB, free: 4.461 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.272e-05/0.8672, allocations: 99.94 kB / 0.8948 GB, free: 4.363 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01643/0.8836, allocations: 6.858 MB / 0.9015 GB, free: 13.5 MB / 0.67 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.03492/0.9185, allocations: 17.25 MB / 0.9184 GB, free: 11.48 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01014/0.9287, allocations: 4.492 MB / 0.9228 GB, free: 6.992 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006212/0.935, allocations: 2.939 MB / 0.9256 GB, free: 4.047 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001061/0.9361, allocations: 0.6815 MB / 0.9263 GB, free: 3.234 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007276/0.9434, allocations: 2.729 MB / 0.929 GB, free: 480 kB / 0.6856 GB Notification: Performance of pre-optimization done (n=315): time 6.021e-06/0.9434, allocations: 0 / 0.929 GB, free: 480 kB / 0.6856 GB Notification: Performance of matching and sorting (n=315): time 0.02798/0.9714, allocations: 9.69 MB / 0.9384 GB, free: 6.641 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002642/0.9717, allocations: 214.4 kB / 0.9386 GB, free: 6.387 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005273/0.977, allocations: 2.658 MB / 0.9412 GB, free: 3.715 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0007305/0.9777, allocations: 77.7 kB / 0.9413 GB, free: 3.633 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001689/0.9794, allocations: 1.557 MB / 0.9428 GB, free: 2.059 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.001724/0.9812, allocations: 1.043 MB / 0.9438 GB, free: 1 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001962/0.9831, allocations: 0.525 MB / 0.9443 GB, free: 480 kB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.9833, allocations: 301.1 kB / 0.9446 GB, free: 176 kB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005317/0.9886, allocations: 2.16 MB / 0.9467 GB, free: 14.01 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005659/0.9943, allocations: 2.517 MB / 0.9492 GB, free: 11.4 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01113/1.005, allocations: 4.688 MB / 0.9538 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-05/1.005, allocations: 0 / 0.9538 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of matching and sorting (n=347) (initialization): time 0.01486/1.02, allocations: 5.752 MB / 0.9594 GB, free: 0.832 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.178e-05/1.02, allocations: 8 kB / 0.9594 GB, free: 0.8242 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.177e-05/1.02, allocations: 4 kB / 0.9594 GB, free: 0.8203 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002059/1.022, allocations: 0.8319 MB / 0.9602 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005878/1.028, allocations: 0.8033 MB / 0.961 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01642/1.045, allocations: 7.558 MB / 0.9684 GB, free: 7.477 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005661/1.051, allocations: 0.5615 MB / 0.9689 GB, free: 6.914 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009968/1.052, allocations: 123.9 kB / 0.969 GB, free: 6.793 MB / 0.7325 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 (283): * Single equations (assignments): 282 * 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 {(5,60,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003114/1.055, allocations: 1.032 MB / 0.9701 GB, free: 5.75 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001689/1.056, allocations: 308.2 kB / 0.9703 GB, free: 5.445 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0227/1.079, allocations: 6.372 MB / 0.9766 GB, free: 15.01 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-05/1.079, allocations: 32 kB / 0.9766 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.385e-05/1.079, allocations: 8 kB / 0.9766 GB, free: 14.97 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.338e-05/1.079, allocations: 19.94 kB / 0.9766 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02565/1.105, allocations: 10.73 MB / 0.9871 GB, free: 4.098 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.149e-05/1.105, allocations: 0 / 0.9871 GB, free: 4.098 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003989/1.109, allocations: 0.7683 MB / 0.9879 GB, free: 3.328 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001991/1.111, allocations: 0.7341 MB / 0.9886 GB, free: 2.582 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000478/1.112, allocations: 87.88 kB / 0.9887 GB, free: 2.496 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01255/1.124, allocations: 10.66 MB / 0.9991 GB, free: 7.395 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-05/1.124, allocations: 7.938 kB / 0.9991 GB, free: 7.387 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02095/1.145, allocations: 9.076 MB / 1.008 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00228/1.147, allocations: 0.8947 MB / 1.009 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001108/1.149, allocations: 71.92 kB / 1.009 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003482/1.152, allocations: 407.4 kB / 1.009 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006395/1.153, allocations: 210.2 kB / 1.009 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004011/1.153, allocations: 111.9 kB / 1.01 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.003656/1.157, allocations: 1.932 MB / 1.011 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.9e-07/1.157, allocations: 0 / 1.011 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.00407/1.161, allocations: 1.215 MB / 1.013 GB, free: 9.367 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (thermalZoneFourElements.volAir.dynBal.U,thermalZoneFourElements.volAir.dynBal.m,thermalZoneFourElements.extWallRC.thermCapExt[1].T,thermalZoneFourElements.intWallRC.thermCapInt[1].T,thermalZoneFourElements.floorRC.thermCapExt[1].T,thermalZoneFourElements.roofRC.thermCapExt[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 (270): * Single equations (assignments): 262 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02279/1.184, allocations: 10.57 MB / 1.023 GB, free: 15.11 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0129/1.197, allocations: 5.485 MB / 1.028 GB, free: 9.59 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 5.743e-05/1.197, allocations: 3.938 kB / 1.028 GB, free: 9.586 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.007441/1.204, allocations: 3.321 MB / 1.032 GB, free: 6.223 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004554/1.209, allocations: 0.7789 MB / 1.032 GB, free: 5.477 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3842/1.593, allocations: 33.18 MB / 1.065 GB, free: 302.6 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002901/1.596, allocations: 2.693 MB / 1.067 GB, free: 301.6 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.003942/1.6, allocations: 1.158 MB / 1.068 GB, free: 301.6 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002283/1.602, allocations: 1.641 MB / 1.07 GB, free: 300.3 MB / 0.8106 GB Notification: Performance of SimCode: time 1.062e-06/1.602, allocations: 3.375 kB / 1.07 GB, free: 300.3 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1346/1.737, allocations: 83.34 MB / 1.151 GB, free: 234.2 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.56/21.29, allocations: 20.78 kB / 1.152 GB, free: 234.2 MB / 0.8106 GB (rm -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; mkfifo IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; head -c 1048576 < IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe >> ../files/IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomFourElements_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomFourElements.fmu > IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe 2>&1)