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.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.001401/0.001401, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001484/0.001484, allocations: 217.3 kB / 23.03 MB, free: 4.922 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.499/1.499, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.8886/0.8886, allocations: 134 MB / 447.2 MB, free: 9.965 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.SimpleRoomFourElements,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomFourElements",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomFourElements",fmuType="cs",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.001946/0.001946, allocations: 66.56 kB / 0.6192 GB, free: 6.906 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1845/0.1864, allocations: 85.91 MB / 0.7031 GB, free: 1.086 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements): time 0.6024/0.7888, allocations: 143.8 MB / 0.8435 GB, free: 3.215 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.04131/0.8301, allocations: 25.19 MB / 0.8682 GB, free: 9.941 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005368/0.8355, allocations: 111.2 kB / 0.8683 GB, free: 9.832 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.003825/0.8393, allocations: 1.154 MB / 0.8694 GB, free: 8.672 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.008236/0.8475, allocations: 1.963 MB / 0.8713 GB, free: 6.707 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.006557/0.8541, allocations: 1.989 MB / 0.8732 GB, free: 4.73 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.009555/0.8636, allocations: 5.919 MB / 0.879 GB, free: 14.8 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006256/0.8699, allocations: 3.586 MB / 0.8825 GB, free: 11.13 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005927/0.8758, allocations: 2.414 MB / 0.8849 GB, free: 8.715 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005605/0.8814, allocations: 2.915 MB / 0.8877 GB, free: 5.789 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001884/0.8833, allocations: 0.5234 MB / 0.8882 GB, free: 5.266 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004321/0.8876, allocations: 1.116 MB / 0.8893 GB, free: 4.148 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.00234/0.89, allocations: 1.39 MB / 0.8907 GB, free: 2.754 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.003719/0.8937, allocations: 1.944 MB / 0.8926 GB, free: 0.8008 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01087/0.9046, allocations: 6.891 MB / 0.8993 GB, free: 9.891 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 8.596e-06/0.9046, allocations: 0 / 0.8993 GB, free: 9.891 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.594e-06/0.9046, allocations: 0 / 0.8993 GB, free: 9.891 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0002594/0.9048, allocations: 0 / 0.8993 GB, free: 9.891 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.01448/0.9193, allocations: 5.204 MB / 0.9044 GB, free: 4.621 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.176e-05/0.9194, allocations: 8.031 kB / 0.9044 GB, free: 4.613 MB / 0.67 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001248/0.9195, allocations: 103.5 kB / 0.9045 GB, free: 4.512 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001092/0.9206, allocations: 0.5104 MB / 0.905 GB, free: 3.992 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01762/0.9382, allocations: 3.207 MB / 0.9081 GB, free: 0.7773 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006937/0.9451, allocations: 2.523 MB / 0.9106 GB, free: 14.19 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002794/0.9454, allocations: 284.4 kB / 0.9109 GB, free: 13.91 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001305/0.9467, allocations: 368 kB / 0.9112 GB, free: 13.55 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01646/0.9632, allocations: 6.066 MB / 0.9171 GB, free: 7.348 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001224/0.9633, allocations: 4 kB / 0.9172 GB, free: 7.344 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006821/0.964, allocations: 159.9 kB / 0.9173 GB, free: 7.188 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.34e-05/0.9641, allocations: 88 kB / 0.9174 GB, free: 7.102 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01896/0.983, allocations: 6.87 MB / 0.9241 GB, free: 228 kB / 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.03496/1.018, allocations: 13.45 MB / 0.9372 GB, free: 2.641 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.011/1.029, allocations: 4.225 MB / 0.9414 GB, free: 14.41 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006779/1.036, allocations: 2.717 MB / 0.944 GB, free: 11.69 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009203/1.037, allocations: 138.3 kB / 0.9441 GB, free: 11.55 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007414/1.044, allocations: 2.85 MB / 0.9469 GB, free: 8.641 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=315): time 9.157e-06/1.044, allocations: 0 / 0.9469 GB, free: 8.641 MB / 0.7169 GB Notification: Performance of matching and sorting (n=315): time 0.02922/1.073, allocations: 9.385 MB / 0.9561 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001599/1.073, allocations: 218.3 kB / 0.9563 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004815/1.078, allocations: 2.707 MB / 0.9589 GB, free: 12.22 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0007467/1.079, allocations: 85.64 kB / 0.959 GB, free: 12.13 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0018/1.081, allocations: 1.584 MB / 0.9606 GB, free: 10.53 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.00179/1.083, allocations: 1.092 MB / 0.9616 GB, free: 9.43 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002114/1.085, allocations: 0.529 MB / 0.9622 GB, free: 8.895 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000138/1.085, allocations: 305.1 kB / 0.9624 GB, free: 8.594 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005772/1.091, allocations: 2.164 MB / 0.9646 GB, free: 6.426 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006699/1.097, allocations: 2.772 MB / 0.9673 GB, free: 3.504 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01242/1.11, allocations: 4.688 MB / 0.9718 GB, free: 14.73 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.163e-05/1.11, allocations: 0 / 0.9718 GB, free: 14.73 MB / 0.7481 GB Notification: Performance of matching and sorting (n=347) (initialization): time 0.01648/1.126, allocations: 5.738 MB / 0.9774 GB, free: 8.949 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.633e-05/1.126, allocations: 8 kB / 0.9775 GB, free: 8.941 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.888e-05/1.126, allocations: 4 kB / 0.9775 GB, free: 8.938 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002059/1.128, allocations: 0.8336 MB / 0.9783 GB, free: 8.102 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004748/1.133, allocations: 0.7955 MB / 0.9791 GB, free: 7.305 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0125/1.146, allocations: 7.342 MB / 0.9862 GB, free: 15.84 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004432/1.15, allocations: 0.5679 MB / 0.9868 GB, free: 15.27 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007925/1.151, allocations: 119.9 kB / 0.9869 GB, free: 15.15 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.0032/1.154, allocations: 1.024 MB / 0.9879 GB, free: 14.12 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001349/1.155, allocations: 326 kB / 0.9882 GB, free: 13.8 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01861/1.174, allocations: 6.38 MB / 0.9944 GB, free: 7.355 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-05/1.174, allocations: 32 kB / 0.9945 GB, free: 7.324 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.837e-05/1.174, allocations: 12 kB / 0.9945 GB, free: 7.312 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.271e-05/1.174, allocations: 19.94 kB / 0.9945 GB, free: 7.293 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02826/1.202, allocations: 10.18 MB / 1.004 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-05/1.203, allocations: 0 / 1.004 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004522/1.207, allocations: 0.7684 MB / 1.005 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002177/1.209, allocations: 0.7379 MB / 1.006 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008168/1.21, allocations: 83.94 kB / 1.006 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01412/1.224, allocations: 10.23 MB / 1.016 GB, free: 0.7969 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/1.224, allocations: 3.938 kB / 1.016 GB, free: 0.793 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02344/1.248, allocations: 9.091 MB / 1.025 GB, free: 7.617 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002696/1.25, allocations: 0.862 MB / 1.026 GB, free: 6.754 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001135/1.251, allocations: 67.95 kB / 1.026 GB, free: 6.688 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00393/1.255, allocations: 399.7 kB / 1.026 GB, free: 6.297 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008743/1.256, allocations: 234.1 kB / 1.026 GB, free: 6.066 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005777/1.257, allocations: 107.9 kB / 1.026 GB, free: 5.961 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.003864/1.261, allocations: 1.972 MB / 1.028 GB, free: 3.984 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.9e-07/1.261, allocations: 0 / 1.028 GB, free: 3.984 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.005296/1.266, allocations: 1.232 MB / 1.03 GB, free: 2.75 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 (273): * Single equations (assignments): 265 * 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.0273/1.293, allocations: 10.65 MB / 1.04 GB, free: 8.445 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.01426/1.308, allocations: 5.325 MB / 1.045 GB, free: 3.082 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/1.308, allocations: 4.062 kB / 1.045 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.008152/1.316, allocations: 3.154 MB / 1.048 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005192/1.321, allocations: 0.7798 MB / 1.049 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4617/1.783, allocations: 33.41 MB / 1.082 GB, free: 295.7 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002875/1.785, allocations: 2.169 MB / 1.084 GB, free: 295.3 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.004381/1.79, allocations: 1.164 MB / 1.085 GB, free: 295.3 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002649/1.793, allocations: 1.659 MB / 1.087 GB, free: 294 MB / 0.8262 GB Notification: Performance of SimCode: time 1.272e-06/1.793, allocations: 1.156 kB / 1.087 GB, free: 294 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1291/1.922, allocations: 87.69 MB / 1.172 GB, free: 218.6 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.61/22.53, allocations: 14.23 kB / 1.172 GB, free: 218.6 MB / 0.8262 GB " [Timeout remaining time 637] (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 os._exit(0), Time elapsed: 26.563499339972623] Failed to read output from testmodel.py, exit status != 0: 22.86065928102471 22.883643383 21.97456128 Calling exit ...