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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001891/0.001891, allocations: 109.1 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002008/0.002008, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.381/1.381, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8336/0.8336, allocations: 134 MB / 436.6 MB, free: 1.293 MB / 334.1 MB " [Timeout remaining time 179] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002025/0.002025, allocations: 68.42 kB / 0.6051 GB, free: 15.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1826/0.1847, allocations: 84.67 MB / 0.6878 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements): time 0.6593/0.8439, allocations: 163.7 MB / 0.8476 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0423/0.8862, allocations: 27.54 MB / 0.8745 GB, free: 15.46 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004545/0.8908, allocations: 87.56 kB / 0.8746 GB, free: 15.37 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.003408/0.8942, allocations: 1.138 MB / 0.8757 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.006463/0.9007, allocations: 1.936 MB / 0.8776 GB, free: 12.29 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.005593/0.9062, allocations: 1.977 MB / 0.8795 GB, free: 10.32 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.00909/0.9153, allocations: 5.853 MB / 0.8852 GB, free: 4.457 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006492/0.9218, allocations: 3.976 MB / 0.8891 GB, free: 412 kB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005435/0.9273, allocations: 2.352 MB / 0.8914 GB, free: 14.05 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005581/0.9328, allocations: 2.9 MB / 0.8943 GB, free: 11.14 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.002335/0.9352, allocations: 0.5234 MB / 0.8948 GB, free: 10.62 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004303/0.9395, allocations: 1.136 MB / 0.8959 GB, free: 9.48 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.00284/0.9423, allocations: 1.375 MB / 0.8972 GB, free: 8.102 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.005723/0.948, allocations: 2.387 MB / 0.8995 GB, free: 5.703 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01308/0.9611, allocations: 6.791 MB / 0.9062 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/0.9611, allocations: 0 / 0.9062 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.244e-06/0.9611, allocations: 0 / 0.9062 GB, free: 14.89 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0002699/0.9614, allocations: 0 / 0.9062 GB, free: 14.89 MB / 0.67 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.01444/0.9759, allocations: 5.233 MB / 0.9113 GB, free: 9.574 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 6.487e-05/0.9759, allocations: 12.03 kB / 0.9113 GB, free: 9.562 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001239/0.9772, allocations: 0.5181 MB / 0.9118 GB, free: 9.035 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01385/0.991, allocations: 2.852 MB / 0.9146 GB, free: 6.176 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007037/0.998, allocations: 2.567 MB / 0.9171 GB, free: 3.539 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000337/0.9984, allocations: 283.5 kB / 0.9174 GB, free: 3.266 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001237/0.9996, allocations: 364 kB / 0.9177 GB, free: 2.91 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01504/1.015, allocations: 5.732 MB / 0.9233 GB, free: 13.11 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.322e-05/1.015, allocations: 7.891 kB / 0.9233 GB, free: 13.11 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005043/1.015, allocations: 156 kB / 0.9235 GB, free: 12.95 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001083/1.015, allocations: 91.94 kB / 0.9236 GB, free: 12.86 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01843/1.034, allocations: 6.862 MB / 0.9303 GB, free: 5.992 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.04196/1.076, allocations: 17.3 MB / 0.9471 GB, free: 3.945 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01123/1.087, allocations: 4.234 MB / 0.9513 GB, free: 15.71 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006903/1.094, allocations: 2.705 MB / 0.9539 GB, free: 13 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00136/1.095, allocations: 0.6855 MB / 0.9546 GB, free: 12.18 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007503/1.103, allocations: 2.721 MB / 0.9573 GB, free: 9.426 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=315): time 6.472e-06/1.103, allocations: 0 / 0.9573 GB, free: 9.426 MB / 0.7169 GB Notification: Performance of matching and sorting (n=315): time 0.03146/1.134, allocations: 9.672 MB / 0.9667 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000193/1.134, allocations: 218.4 kB / 0.9669 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005681/1.14, allocations: 2.658 MB / 0.9695 GB, free: 12.69 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0009563/1.141, allocations: 81.7 kB / 0.9696 GB, free: 12.6 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.002092/1.143, allocations: 1.568 MB / 0.9711 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.002263/1.145, allocations: 1.108 MB / 0.9722 GB, free: 9.902 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002514/1.148, allocations: 0.5251 MB / 0.9727 GB, free: 9.371 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001883/1.148, allocations: 301.1 kB / 0.973 GB, free: 9.074 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006107/1.154, allocations: 2.16 MB / 0.9751 GB, free: 6.91 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006489/1.161, allocations: 2.521 MB / 0.9776 GB, free: 4.301 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01223/1.173, allocations: 4.688 MB / 0.9821 GB, free: 15.53 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.855e-05/1.173, allocations: 4 kB / 0.9821 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of matching and sorting (n=347) (initialization): time 0.01586/1.189, allocations: 5.726 MB / 0.9877 GB, free: 9.75 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.68e-05/1.189, allocations: 8 kB / 0.9877 GB, free: 9.742 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.931e-05/1.189, allocations: 4.109 kB / 0.9877 GB, free: 9.738 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002011/1.191, allocations: 0.8318 MB / 0.9886 GB, free: 8.906 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004497/1.195, allocations: 0.7956 MB / 0.9893 GB, free: 8.109 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01256/1.208, allocations: 7.575 MB / 0.9967 GB, free: 400 kB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004324/1.212, allocations: 0.564 MB / 0.9973 GB, free: 15.82 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008739/1.213, allocations: 116 kB / 0.9974 GB, free: 15.71 MB / 0.7637 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.003868/1.217, allocations: 1.028 MB / 0.9984 GB, free: 14.67 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001324/1.218, allocations: 329.9 kB / 0.9987 GB, free: 14.35 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01747/1.236, allocations: 6.348 MB / 1.005 GB, free: 7.938 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.91e-05/1.236, allocations: 32 kB / 1.005 GB, free: 7.906 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.285e-05/1.236, allocations: 8 kB / 1.005 GB, free: 7.898 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.479e-05/1.236, allocations: 15.94 kB / 1.005 GB, free: 7.883 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0277/1.264, allocations: 10.69 MB / 1.015 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-05/1.264, allocations: 0 / 1.015 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00411/1.268, allocations: 0.7723 MB / 1.016 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002079/1.27, allocations: 0.7301 MB / 1.017 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005035/1.27, allocations: 91.92 kB / 1.017 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01449/1.285, allocations: 10.68 MB / 1.027 GB, free: 356 kB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/1.285, allocations: 3.938 kB / 1.027 GB, free: 352 kB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02237/1.307, allocations: 9.047 MB / 1.036 GB, free: 7.215 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002989/1.31, allocations: 0.9198 MB / 1.037 GB, free: 6.273 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007443/1.311, allocations: 67.89 kB / 1.037 GB, free: 6.207 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0032/1.314, allocations: 403.3 kB / 1.038 GB, free: 5.812 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005457/1.315, allocations: 218.2 kB / 1.038 GB, free: 5.598 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002665/1.315, allocations: 99.94 kB / 1.038 GB, free: 5.5 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.003114/1.318, allocations: 1.936 MB / 1.04 GB, free: 3.559 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/1.318, allocations: 4 kB / 1.04 GB, free: 3.555 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.003663/1.322, allocations: 1.228 MB / 1.041 GB, free: 2.324 MB / 0.795 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.02421/1.346, allocations: 10.55 MB / 1.051 GB, free: 8.09 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.01344/1.359, allocations: 5.309 MB / 1.056 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 6.803e-06/1.359, allocations: 0 / 1.056 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.008336/1.368, allocations: 3.149 MB / 1.06 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006229/1.374, allocations: 0.776 MB / 1.06 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4116/1.786, allocations: 33.24 MB / 1.093 GB, free: 303 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004352/1.79, allocations: 2.7 MB / 1.095 GB, free: 302 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.006336/1.796, allocations: 1.163 MB / 1.097 GB, free: 302 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003761/1.8, allocations: 1.637 MB / 1.098 GB, free: 300.7 MB / 0.8262 GB Notification: Performance of SimCode: time 2.074e-06/1.8, allocations: 6.219 kB / 1.098 GB, free: 300.7 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1587/1.959, allocations: 82.31 MB / 1.179 GB, free: 231.3 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.62/20.58, allocations: 10.55 kB / 1.179 GB, free: 231.3 MB / 0.8262 GB " [Timeout remaining time 639] (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 --stepSize=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomFourElements.fmu > IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 29.941398601047695] Failed to read output from testmodel.py, exit status != 0: 20.825615134090185 20.84129807 19.876594775 Calling exit ...