Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001488/0.001488, allocations: 216.9 kB / 22.25 MB, free: 4.855 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.436/1.436, allocations: 230.6 MB / 256 MB, free: 7.785 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.8469/0.8469, allocations: 134 MB / 446.4 MB, free: 9.926 MB / 350.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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomThreeElements",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomThreeElements",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00271/0.00271, allocations: 71.03 kB / 0.6185 GB, free: 6.906 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2134/0.2161, allocations: 85.91 MB / 0.7024 GB, free: 1.086 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements): time 0.649/0.8651, allocations: 142.7 MB / 0.8418 GB, free: 4.25 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.03867/0.9038, allocations: 24.83 MB / 0.866 GB, free: 11.35 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003687/0.9075, allocations: 103.2 kB / 0.8661 GB, free: 11.25 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002866/0.9104, allocations: 1.076 MB / 0.8672 GB, free: 10.16 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.005913/0.9163, allocations: 1.83 MB / 0.8689 GB, free: 8.328 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.005015/0.9213, allocations: 1.799 MB / 0.8707 GB, free: 6.543 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.007692/0.929, allocations: 5.28 MB / 0.8759 GB, free: 1.246 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005239/0.9342, allocations: 3.308 MB / 0.8791 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004475/0.9387, allocations: 2.221 MB / 0.8813 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004843/0.9435, allocations: 2.682 MB / 0.8839 GB, free: 8.945 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001399/0.9449, allocations: 488 kB / 0.8843 GB, free: 8.469 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003111/0.9481, allocations: 1.07 MB / 0.8854 GB, free: 7.398 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001462/0.9495, allocations: 1.258 MB / 0.8866 GB, free: 6.137 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.002845/0.9524, allocations: 1.769 MB / 0.8883 GB, free: 4.359 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.009241/0.9616, allocations: 6.339 MB / 0.8945 GB, free: 14 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.9616, allocations: 4 kB / 0.8945 GB, free: 14 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.734e-06/0.9616, allocations: 0 / 0.8945 GB, free: 14 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0001704/0.9618, allocations: 0 / 0.8945 GB, free: 14 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: 882 * Number of variables: 882 Notification: Performance of Generate backend data structure: time 0.0117/0.9735, allocations: 4.825 MB / 0.8993 GB, free: 9.117 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.9735, allocations: 11.97 kB / 0.8993 GB, free: 9.105 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007219/0.9742, allocations: 484.5 kB / 0.8997 GB, free: 8.621 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01697/0.9912, allocations: 3.164 MB / 0.9028 GB, free: 5.449 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006987/0.9982, allocations: 2.389 MB / 0.9051 GB, free: 2.996 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002921/0.9985, allocations: 258.8 kB / 0.9054 GB, free: 2.742 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008974/0.9994, allocations: 336 kB / 0.9057 GB, free: 2.414 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01594/1.015, allocations: 5.716 MB / 0.9113 GB, free: 12.55 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001284/1.015, allocations: 11.92 kB / 0.9113 GB, free: 12.54 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000686/1.016, allocations: 140 kB / 0.9114 GB, free: 12.4 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.186e-05/1.016, allocations: 88 kB / 0.9115 GB, free: 12.31 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01863/1.035, allocations: 6.461 MB / 0.9178 GB, free: 5.84 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.03102/1.066, allocations: 12.53 MB / 0.9301 GB, free: 9.176 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009203/1.075, allocations: 3.841 MB / 0.9338 GB, free: 5.328 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005917/1.081, allocations: 2.467 MB / 0.9362 GB, free: 2.855 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007136/1.082, allocations: 130.2 kB / 0.9364 GB, free: 2.727 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006229/1.088, allocations: 2.703 MB / 0.939 GB, free: 15.95 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=288): time 6.472e-06/1.088, allocations: 0 / 0.939 GB, free: 15.95 MB / 0.7169 GB Notification: Performance of matching and sorting (n=288): time 0.02325/1.111, allocations: 8.164 MB / 0.947 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001802/1.111, allocations: 210.2 kB / 0.9472 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004217/1.116, allocations: 2.57 MB / 0.9497 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0005927/1.116, allocations: 77.7 kB / 0.9498 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001637/1.118, allocations: 1.474 MB / 0.9512 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.001321/1.119, allocations: 1.003 MB / 0.9522 GB, free: 2.309 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00097/1.12, allocations: 0.4932 MB / 0.9527 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.000196/1.12, allocations: 313 kB / 0.953 GB, free: 1.5 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005106/1.125, allocations: 2.038 MB / 0.9549 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005636/1.131, allocations: 2.583 MB / 0.9575 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01121/1.142, allocations: 4.409 MB / 0.9618 GB, free: 8.242 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.847e-05/1.142, allocations: 4 kB / 0.9618 GB, free: 8.238 MB / 0.7325 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.01391/1.156, allocations: 5.272 MB / 0.9669 GB, free: 2.918 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.321e-05/1.156, allocations: 8 kB / 0.9669 GB, free: 2.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.93e-05/1.156, allocations: 4 kB / 0.9669 GB, free: 2.906 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001362/1.158, allocations: 0.5414 MB / 0.9675 GB, free: 2.363 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004292/1.162, allocations: 0.78 MB / 0.9682 GB, free: 1.582 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009353/1.171, allocations: 5.532 MB / 0.9736 GB, free: 11.93 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004261/1.176, allocations: 0.5466 MB / 0.9742 GB, free: 11.38 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007408/1.176, allocations: 115.9 kB / 0.9743 GB, free: 11.27 MB / 0.7481 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 (274): * Single equations (assignments): 273 * 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 {(4,42,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002908/1.179, allocations: 0.9618 MB / 0.9752 GB, free: 10.29 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009204/1.18, allocations: 310 kB / 0.9755 GB, free: 9.988 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01484/1.195, allocations: 5.905 MB / 0.9813 GB, free: 4.02 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.315e-05/1.195, allocations: 32 kB / 0.9813 GB, free: 3.988 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.163e-05/1.195, allocations: 4 kB / 0.9813 GB, free: 3.984 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.819e-05/1.195, allocations: 23.88 kB / 0.9813 GB, free: 3.961 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02355/1.219, allocations: 9.407 MB / 0.9905 GB, free: 10.45 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.264e-05/1.219, allocations: 0 / 0.9905 GB, free: 10.45 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004265/1.223, allocations: 0.7488 MB / 0.9912 GB, free: 9.699 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00163/1.224, allocations: 0.5216 MB / 0.9918 GB, free: 9.168 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005472/1.225, allocations: 79.94 kB / 0.9918 GB, free: 9.09 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01114/1.236, allocations: 7.267 MB / 0.9989 GB, free: 1.566 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/1.236, allocations: 0 / 0.9989 GB, free: 1.566 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03016/1.266, allocations: 8.436 MB / 1.007 GB, free: 9.043 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004631/1.271, allocations: 0.8154 MB / 1.008 GB, free: 8.227 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001317/1.272, allocations: 63.89 kB / 1.008 GB, free: 8.164 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005032/1.277, allocations: 395.4 kB / 1.008 GB, free: 7.777 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008138/1.278, allocations: 206 kB / 1.009 GB, free: 7.574 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004788/1.279, allocations: 103.9 kB / 1.009 GB, free: 7.473 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.004703/1.283, allocations: 1.87 MB / 1.011 GB, free: 5.594 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/1.283, allocations: 3.938 kB / 1.011 GB, free: 5.59 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.005121/1.288, allocations: 1.118 MB / 1.012 GB, free: 4.469 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (thermalZoneThreeElements.volAir.dynBal.U,thermalZoneThreeElements.volAir.dynBal.m,thermalZoneThreeElements.extWallRC.thermCapExt[1].T,thermalZoneThreeElements.intWallRC.thermCapInt[1].T,thermalZoneThreeElements.floorRC.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 (263): * Single equations (assignments): 256 * 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 {(4,36,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.04048/1.329, allocations: 9.993 MB / 1.021 GB, free: 10.82 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.01807/1.347, allocations: 4.925 MB / 1.026 GB, free: 5.852 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 8.055e-06/1.347, allocations: 0 / 1.026 GB, free: 5.852 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.007821/1.355, allocations: 2.815 MB / 1.029 GB, free: 3.008 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005072/1.36, allocations: 0.7251 MB / 1.03 GB, free: 2.324 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07911/1.439, allocations: 31.03 MB / 1.06 GB, free: 2.969 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003795/1.443, allocations: 2.027 MB / 1.062 GB, free: 0.9023 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.3661/1.809, allocations: 1.121 MB / 1.063 GB, free: 301.4 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003392/1.812, allocations: 1.538 MB / 1.065 GB, free: 301.4 MB / 0.8262 GB Notification: Performance of SimCode: time 1.032e-06/1.812, allocations: 0 / 1.065 GB, free: 301.4 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1977/2.01, allocations: 79.99 MB / 1.143 GB, free: 248.4 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.78/18.79, allocations: 7.875 kB / 1.143 GB, free: 248.4 MB / 0.8262 GB " [Timeout remaining time 641] (rm -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe ; mkfifo IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe ; head -c 1048576 < IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe >> ../files/IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomThreeElements_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomThreeElements.fmu > IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 22.629494579974562] Failed to read output from testmodel.py, exit status != 0: 19.063470622058958 19.073474265 18.109395677 Calling exit ...