Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.SimpleRoomFourElements,fileNamePrefix="IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomFourElements",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements,fileNamePrefix="IDEAS_dev_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.005171/0.005171, allocations: 102.3 kB / 15.73 MB, free: 6.445 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.001294/0.001295, allocations: 196.9 kB / 16.68 MB, free: 6.352 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.475/1.475, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.018/1.018, allocations: 135.6 MB / 426.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001881/0.001881, allocations: 59.91 kB / 0.5857 GB, free: 3.246 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5559/0.5578, allocations: 81.03 MB / 0.6648 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements): time 0.217/0.7749, allocations: 163.1 MB / 0.8241 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.04278/0.8177, allocations: 27.45 MB / 0.8509 GB, free: 1.695 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004266/0.822, allocations: 87.56 kB / 0.851 GB, free: 1.609 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003612/0.8257, allocations: 1.13 MB / 0.8521 GB, free: 484 kB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.007008/0.8327, allocations: 1.89 MB / 0.854 GB, free: 14.57 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.005666/0.8384, allocations: 1.982 MB / 0.8559 GB, free: 12.6 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.00944/0.8479, allocations: 5.858 MB / 0.8616 GB, free: 6.727 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007664/0.8556, allocations: 4.881 MB / 0.8664 GB, free: 1.766 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.5318/1.387, allocations: 2.303 MB / 0.8686 GB, free: 8.391 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005628/1.393, allocations: 2.821 MB / 0.8714 GB, free: 8.391 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.002328/1.395, allocations: 0.52 MB / 0.8719 GB, free: 8.391 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004701/1.4, allocations: 1.142 MB / 0.873 GB, free: 8.391 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.002337/1.403, allocations: 1.356 MB / 0.8743 GB, free: 8.391 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.006911/1.409, allocations: 2.398 MB / 0.8767 GB, free: 8.227 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01195/1.421, allocations: 6.78 MB / 0.8833 GB, free: 7.312 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 8.446e-06/1.421, allocations: 0 / 0.8833 GB, free: 7.312 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.984e-06/1.422, allocations: 8.094 kB / 0.8833 GB, free: 7.309 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0002884/1.422, allocations: 0.9375 kB / 0.8833 GB, free: 7.309 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: 962 * Number of variables: 962 Notification: Performance of Generate backend data structure: time 0.019/1.441, allocations: 5.242 MB / 0.8884 GB, free: 5.215 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.642e-05/1.441, allocations: 9.156 kB / 0.8884 GB, free: 5.215 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001892/1.443, allocations: 0.5101 MB / 0.8889 GB, free: 5.156 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01489/1.458, allocations: 2.857 MB / 0.8917 GB, free: 4.891 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006721/1.464, allocations: 2.564 MB / 0.8942 GB, free: 4.207 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003258/1.465, allocations: 282.8 kB / 0.8945 GB, free: 4.199 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001543/1.466, allocations: 368.7 kB / 0.8948 GB, free: 4.195 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01733/1.484, allocations: 5.729 MB / 0.9004 GB, free: 3.926 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001186/1.484, allocations: 3.562 kB / 0.9004 GB, free: 3.926 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007304/1.485, allocations: 156.6 kB / 0.9006 GB, free: 3.926 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.199e-05/1.485, allocations: 94.69 kB / 0.9007 GB, free: 3.926 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02011/1.505, allocations: 6.853 MB / 0.9074 GB, free: 3.895 MB / 0.6856 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.04886/1.554, allocations: 17.29 MB / 0.9243 GB, free: 14.79 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01294/1.567, allocations: 4.484 MB / 0.9286 GB, free: 14.09 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007587/1.574, allocations: 2.942 MB / 0.9315 GB, free: 13.55 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001493/1.576, allocations: 0.6804 MB / 0.9322 GB, free: 12.85 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008056/1.584, allocations: 2.717 MB / 0.9348 GB, free: 11.99 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=315): time 7.744e-06/1.584, allocations: 0.8438 kB / 0.9348 GB, free: 11.99 MB / 0.7012 GB Notification: Performance of matching and sorting (n=315): time 0.02767/1.612, allocations: 9.709 MB / 0.9443 GB, free: 8.91 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002541/1.612, allocations: 220.8 kB / 0.9445 GB, free: 8.652 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005935/1.618, allocations: 2.666 MB / 0.9471 GB, free: 6.145 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.001283/1.619, allocations: 77.81 kB / 0.9472 GB, free: 6.062 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.00201/1.621, allocations: 1.583 MB / 0.9487 GB, free: 4.469 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.002193/1.624, allocations: 1.093 MB / 0.9498 GB, free: 3.391 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001333/1.625, allocations: 0.5212 MB / 0.9503 GB, free: 2.863 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001556/1.625, allocations: 309.1 kB / 0.9506 GB, free: 2.559 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005546/1.631, allocations: 2.156 MB / 0.9527 GB, free: 408 kB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006062/1.637, allocations: 2.523 MB / 0.9552 GB, free: 13.79 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01243/1.649, allocations: 4.686 MB / 0.9598 GB, free: 9.043 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.759e-05/1.649, allocations: 0 / 0.9598 GB, free: 9.043 MB / 0.7169 GB Notification: Performance of matching and sorting (n=347) (initialization): time 0.01671/1.666, allocations: 5.766 MB / 0.9654 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.496e-05/1.666, allocations: 16.09 kB / 0.9654 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.198e-05/1.666, allocations: 4 kB / 0.9654 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002141/1.668, allocations: 0.8278 MB / 0.9662 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004861/1.673, allocations: 0.8001 MB / 0.967 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01272/1.686, allocations: 7.574 MB / 0.9744 GB, free: 9.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004979/1.691, allocations: 0.564 MB / 0.9749 GB, free: 9.414 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008416/1.692, allocations: 119.9 kB / 0.9751 GB, free: 9.297 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.003149/1.695, allocations: 1.022 MB / 0.9761 GB, free: 8.293 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001141/1.696, allocations: 329.8 kB / 0.9764 GB, free: 7.969 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01785/1.714, allocations: 6.376 MB / 0.9826 GB, free: 1.562 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-05/1.714, allocations: 32 kB / 0.9826 GB, free: 1.531 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.163e-05/1.714, allocations: 8 kB / 0.9826 GB, free: 1.523 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.856e-05/1.714, allocations: 23.92 kB / 0.9827 GB, free: 1.5 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02853/1.743, allocations: 10.73 MB / 0.9931 GB, free: 6.762 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.37e-05/1.743, allocations: 0 / 0.9931 GB, free: 6.762 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004507/1.747, allocations: 0.7737 MB / 0.9939 GB, free: 6.012 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002135/1.749, allocations: 0.7333 MB / 0.9946 GB, free: 5.27 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007052/1.75, allocations: 87.92 kB / 0.9947 GB, free: 5.184 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01441/1.764, allocations: 10.67 MB / 1.005 GB, free: 10.12 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.773e-06/1.764, allocations: 11.98 kB / 1.005 GB, free: 10.11 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02377/1.788, allocations: 9.087 MB / 1.014 GB, free: 0.9805 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003517/1.792, allocations: 0.9081 MB / 1.015 GB, free: 52 kB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001579/1.793, allocations: 71.06 kB / 1.015 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004402/1.798, allocations: 406.1 kB / 1.015 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007349/1.799, allocations: 222.2 kB / 1.016 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000347/1.799, allocations: 107.9 kB / 1.016 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.003843/1.803, allocations: 1.932 MB / 1.018 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/1.803, allocations: 0 / 1.018 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.00585/1.809, allocations: 1.228 MB / 1.019 GB, free: 12.1 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.0274/1.836, allocations: 10.59 MB / 1.029 GB, free: 1.867 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.01596/1.852, allocations: 5.482 MB / 1.034 GB, free: 12.39 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.051e-05/1.852, allocations: 4.688 kB / 1.034 GB, free: 12.38 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.009023/1.861, allocations: 3.342 MB / 1.038 GB, free: 9.059 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006441/1.868, allocations: 0.7673 MB / 1.038 GB, free: 8.332 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08863/1.956, allocations: 33.32 MB / 1.071 GB, free: 6.887 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004363/1.961, allocations: 2.699 MB / 1.074 GB, free: 4.16 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.006254/1.967, allocations: 1.157 MB / 1.075 GB, free: 3 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004527/1.972, allocations: 1.643 MB / 1.076 GB, free: 1.359 MB / 0.8262 GB Notification: Performance of SimCode: time 7.42e-07/1.972, allocations: 0 / 1.076 GB, free: 1.359 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2068/2.178, allocations: 81.93 MB / 1.156 GB, free: 160 kB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.15/21.33, allocations: 11.69 kB / 1.156 GB, free: 152 kB / 0.9044 GB (rm -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; mkfifo IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe >> ../files/IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomFourElements_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomFourElements.fmu > IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe 2>&1)