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.009646/0.009646, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001896/0.001897, allocations: 196.2 kB / 16.67 MB, free: 5.977 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.396/1.396, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9526/0.9526, allocations: 135.1 MB / 425.7 MB, free: 12.06 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 59.91 kB / 0.5851 GB, free: 3.883 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4529/0.4542, allocations: 80.92 MB / 0.6641 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements): time 0.1921/0.6463, allocations: 163.1 MB / 0.8234 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.03913/0.6855, allocations: 27.44 MB / 0.8502 GB, free: 2.375 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004881/0.6904, allocations: 87.56 kB / 0.8503 GB, free: 2.289 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003394/0.6939, allocations: 1.13 MB / 0.8514 GB, free: 1.152 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.006411/0.7003, allocations: 1.888 MB / 0.8532 GB, free: 15.26 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.005288/0.7056, allocations: 1.986 MB / 0.8552 GB, free: 13.28 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.007911/0.7135, allocations: 5.856 MB / 0.8609 GB, free: 7.406 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007317/0.7209, allocations: 4.877 MB / 0.8657 GB, free: 2.449 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004481/0.7254, allocations: 2.339 MB / 0.8679 GB, free: 108 kB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.494/1.219, allocations: 2.819 MB / 0.8707 GB, free: 10.43 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.003217/1.223, allocations: 0.5193 MB / 0.8712 GB, free: 10.43 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005364/1.228, allocations: 1.135 MB / 0.8723 GB, free: 10.43 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.003156/1.231, allocations: 1.363 MB / 0.8736 GB, free: 10.43 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.005452/1.237, allocations: 2.392 MB / 0.876 GB, free: 10.39 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01116/1.248, allocations: 6.762 MB / 0.8826 GB, free: 9.586 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.293e-06/1.248, allocations: 1.688 kB / 0.8826 GB, free: 9.586 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.314e-06/1.248, allocations: 0 / 0.8826 GB, free: 9.586 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0002891/1.248, allocations: 2.094 kB / 0.8826 GB, free: 9.586 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.01594/1.264, allocations: 5.107 MB / 0.8876 GB, free: 7.621 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.687e-05/1.264, allocations: 9.188 kB / 0.8876 GB, free: 7.621 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009463/1.265, allocations: 0.5104 MB / 0.8881 GB, free: 7.562 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0153/1.281, allocations: 2.827 MB / 0.8908 GB, free: 7.32 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007796/1.288, allocations: 2.556 MB / 0.8933 GB, free: 6.648 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003417/1.289, allocations: 281.9 kB / 0.8936 GB, free: 6.641 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001158/1.29, allocations: 364.1 kB / 0.894 GB, free: 6.641 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01395/1.304, allocations: 5.733 MB / 0.8996 GB, free: 6.371 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.79e-05/1.304, allocations: 3.594 kB / 0.8996 GB, free: 6.371 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004183/1.304, allocations: 154.5 kB / 0.8997 GB, free: 6.371 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.03e-05/1.304, allocations: 90.56 kB / 0.8998 GB, free: 6.371 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01534/1.32, allocations: 6.854 MB / 0.9065 GB, free: 6.34 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.03603/1.356, allocations: 17.26 MB / 0.9233 GB, free: 1.137 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01058/1.367, allocations: 4.479 MB / 0.9277 GB, free: 296 kB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006753/1.373, allocations: 3.009 MB / 0.9307 GB, free: 15.92 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001183/1.375, allocations: 0.6756 MB / 0.9313 GB, free: 15.22 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006726/1.381, allocations: 2.724 MB / 0.934 GB, free: 14.36 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=315): time 6.221e-06/1.381, allocations: 0 / 0.934 GB, free: 14.36 MB / 0.7012 GB Notification: Performance of matching and sorting (n=315): time 0.0291/1.41, allocations: 9.7 MB / 0.9434 GB, free: 11.43 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001634/1.411, allocations: 216.5 kB / 0.9437 GB, free: 11.21 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006347/1.417, allocations: 2.663 MB / 0.9463 GB, free: 8.707 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.001057/1.418, allocations: 77.7 kB / 0.9463 GB, free: 8.625 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001998/1.42, allocations: 1.546 MB / 0.9478 GB, free: 7.062 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.002019/1.422, allocations: 1.04 MB / 0.9489 GB, free: 6.031 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002755/1.425, allocations: 0.5327 MB / 0.9494 GB, free: 5.492 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001206/1.425, allocations: 301.1 kB / 0.9497 GB, free: 5.195 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00583/1.431, allocations: 2.16 MB / 0.9518 GB, free: 3.031 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006264/1.437, allocations: 2.516 MB / 0.9542 GB, free: 440 kB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01178/1.449, allocations: 4.691 MB / 0.9588 GB, free: 11.68 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.721e-05/1.449, allocations: 0 / 0.9588 GB, free: 11.68 MB / 0.7169 GB Notification: Performance of matching and sorting (n=347) (initialization): time 0.01559/1.465, allocations: 5.746 MB / 0.9644 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.392e-05/1.465, allocations: 11.94 kB / 0.9644 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.68e-05/1.465, allocations: 3.75 kB / 0.9644 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001993/1.467, allocations: 0.831 MB / 0.9652 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004726/1.471, allocations: 0.7931 MB / 0.966 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01278/1.484, allocations: 7.569 MB / 0.9734 GB, free: 12.65 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005207/1.489, allocations: 0.5632 MB / 0.974 GB, free: 12.08 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001027/1.491, allocations: 111.9 kB / 0.9741 GB, free: 11.97 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.004186/1.495, allocations: 1.024 MB / 0.9751 GB, free: 10.97 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001906/1.497, allocations: 304.2 kB / 0.9754 GB, free: 10.67 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0186/1.515, allocations: 6.39 MB / 0.9816 GB, free: 4.25 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.574e-05/1.515, allocations: 32 kB / 0.9816 GB, free: 4.219 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.891e-05/1.515, allocations: 8 kB / 0.9816 GB, free: 4.211 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.702e-05/1.515, allocations: 15.94 kB / 0.9817 GB, free: 4.195 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02838/1.544, allocations: 10.72 MB / 0.9921 GB, free: 9.453 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.626e-05/1.544, allocations: 0 / 0.9921 GB, free: 9.453 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00422/1.548, allocations: 0.7698 MB / 0.9929 GB, free: 8.707 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002064/1.55, allocations: 0.7383 MB / 0.9936 GB, free: 7.961 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005453/1.551, allocations: 87.92 kB / 0.9937 GB, free: 7.875 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01338/1.564, allocations: 10.65 MB / 1.004 GB, free: 12.82 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/1.564, allocations: 0 / 1.004 GB, free: 12.82 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02276/1.587, allocations: 9.083 MB / 1.013 GB, free: 3.691 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003081/1.59, allocations: 0.8909 MB / 1.014 GB, free: 2.777 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001318/1.591, allocations: 71.84 kB / 1.014 GB, free: 2.707 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004109/1.596, allocations: 403.4 kB / 1.014 GB, free: 2.312 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008761/1.597, allocations: 213.4 kB / 1.014 GB, free: 2.105 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000535/1.597, allocations: 99.94 kB / 1.015 GB, free: 2.008 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.004224/1.601, allocations: 1.936 MB / 1.016 GB, free: 68 kB / 0.7637 GB Notification: Performance of sort global known variables: time 5.41e-07/1.601, allocations: 0 / 1.016 GB, free: 68 kB / 0.7637 GB Notification: Performance of remove unused functions: time 0.005413/1.607, allocations: 1.215 MB / 1.018 GB, free: 14.85 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.02427/1.631, allocations: 10.58 MB / 1.028 GB, free: 4.625 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.01375/1.645, allocations: 5.48 MB / 1.033 GB, free: 15.14 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 7.104e-06/1.645, allocations: 0 / 1.033 GB, free: 15.14 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.007917/1.653, allocations: 3.326 MB / 1.037 GB, free: 11.83 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005702/1.659, allocations: 0.788 MB / 1.037 GB, free: 11.09 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08551/1.744, allocations: 33.18 MB / 1.07 GB, free: 9.785 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004377/1.748, allocations: 2.695 MB / 1.072 GB, free: 7.062 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.00574/1.754, allocations: 1.162 MB / 1.074 GB, free: 5.895 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003942/1.758, allocations: 1.636 MB / 1.075 GB, free: 4.258 MB / 0.8262 GB Notification: Performance of SimCode: time 1.572e-06/1.758, allocations: 0 / 1.075 GB, free: 4.258 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1625/1.921, allocations: 83.37 MB / 1.157 GB, free: 1.605 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.2/21.12, allocations: 2.344 kB / 1.157 GB, free: 1.605 MB / 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)