Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.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.001266/0.001266, allocations: 106 kB / 16.45 MB, free: 6.445 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.001348/0.001348, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.452/1.452, allocations: 225.6 MB / 247.8 MB, free: 3.73 MB / 190.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.8689/0.8689, allocations: 134 MB / 436.6 MB, free: 13.72 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.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.SimpleRoomTwoElements,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomTwoElements",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomTwoElements",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002179/0.002179, allocations: 71.88 kB / 0.6051 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4585/0.4607, allocations: 84.67 MB / 0.6878 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements): time 0.2224/0.6831, allocations: 161.3 MB / 0.8453 GB, free: 4.691 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.5578/1.241, allocations: 26.84 MB / 0.8716 GB, free: 1.852 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004708/1.246, allocations: 77.34 kB / 0.8716 GB, free: 1.852 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003437/1.249, allocations: 1.021 MB / 0.8726 GB, free: 1.852 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.007145/1.256, allocations: 1.706 MB / 0.8743 GB, free: 1.812 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.005661/1.262, allocations: 1.71 MB / 0.876 GB, free: 1.773 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.009741/1.272, allocations: 4.82 MB / 0.8807 GB, free: 1.762 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006761/1.278, allocations: 3.497 MB / 0.8841 GB, free: 17.56 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005911/1.284, allocations: 2.055 MB / 0.8861 GB, free: 17.56 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005666/1.29, allocations: 2.511 MB / 0.8885 GB, free: 17.55 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.00216/1.292, allocations: 451.9 kB / 0.889 GB, free: 17.55 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005151/1.297, allocations: 1.059 MB / 0.89 GB, free: 17.54 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.002825/1.3, allocations: 1.178 MB / 0.8912 GB, free: 17.38 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.004319/1.304, allocations: 2.035 MB / 0.8931 GB, free: 16.79 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.008905/1.313, allocations: 5.821 MB / 0.8988 GB, free: 15.98 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/1.313, allocations: 3.406 kB / 0.8988 GB, free: 15.98 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.104e-06/1.313, allocations: 0.8125 kB / 0.8988 GB, free: 15.98 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0002259/1.314, allocations: 0 / 0.8988 GB, free: 15.98 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: 826 * Number of variables: 826 Notification: Performance of Generate backend data structure: time 0.01537/1.329, allocations: 4.614 MB / 0.9033 GB, free: 14.11 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.073e-05/1.329, allocations: 9.688 kB / 0.9033 GB, free: 14.11 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008266/1.33, allocations: 452.9 kB / 0.9038 GB, free: 14.05 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01348/1.343, allocations: 2.793 MB / 0.9065 GB, free: 13.81 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00686/1.35, allocations: 2.308 MB / 0.9088 GB, free: 13.18 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002269/1.35, allocations: 244.6 kB / 0.909 GB, free: 13.18 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001502/1.352, allocations: 314.2 kB / 0.9093 GB, free: 13.18 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01442/1.366, allocations: 5.137 MB / 0.9143 GB, free: 12.91 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.326e-05/1.366, allocations: 3.516 kB / 0.9143 GB, free: 12.91 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003894/1.367, allocations: 132.6 kB / 0.9144 GB, free: 12.91 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.949e-05/1.367, allocations: 84.52 kB / 0.9145 GB, free: 12.9 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01631/1.383, allocations: 6.291 MB / 0.9207 GB, free: 11.94 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.04145/1.425, allocations: 14.46 MB / 0.9348 GB, free: 3.82 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01281/1.437, allocations: 4.308 MB / 0.939 GB, free: 1.465 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006787/1.444, allocations: 2.276 MB / 0.9412 GB, free: 15.18 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001437/1.446, allocations: 0.6707 MB / 0.9419 GB, free: 14.39 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007456/1.453, allocations: 2.464 MB / 0.9443 GB, free: 11.89 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=270): time 6.162e-06/1.453, allocations: 0 / 0.9443 GB, free: 11.89 MB / 0.7012 GB Notification: Performance of matching and sorting (n=270): time 0.02617/1.479, allocations: 7.534 MB / 0.9516 GB, free: 4.258 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001854/1.479, allocations: 213.2 kB / 0.9518 GB, free: 4.008 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005175/1.485, allocations: 2.397 MB / 0.9542 GB, free: 1.582 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0008984/1.486, allocations: 73.7 kB / 0.9543 GB, free: 1.504 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001826/1.487, allocations: 1.382 MB / 0.9556 GB, free: 112 kB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.00188/1.489, allocations: 0.9336 MB / 0.9565 GB, free: 15.18 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002059/1.491, allocations: 481 kB / 0.957 GB, free: 14.71 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001674/1.491, allocations: 304.9 kB / 0.9573 GB, free: 14.41 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005333/1.497, allocations: 1.952 MB / 0.9592 GB, free: 12.45 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005883/1.503, allocations: 2.263 MB / 0.9614 GB, free: 10.11 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01231/1.515, allocations: 4.201 MB / 0.9655 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.35e-05/1.515, allocations: 0 / 0.9655 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of matching and sorting (n=300) (initialization): time 0.0157/1.531, allocations: 4.911 MB / 0.9703 GB, free: 0.9023 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.889e-05/1.531, allocations: 12.16 kB / 0.9703 GB, free: 0.8906 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.816e-05/1.531, allocations: 4 kB / 0.9703 GB, free: 0.8867 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009895/1.532, allocations: 338 kB / 0.9706 GB, free: 0.5547 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004532/1.536, allocations: 0.7727 MB / 0.9714 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007358/1.544, allocations: 4.263 MB / 0.9755 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004513/1.548, allocations: 0.5369 MB / 0.9761 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009528/1.549, allocations: 103.9 kB / 0.9762 GB, free: 10.79 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 (270): * Single equations (assignments): 269 * 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 {(3,28,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004152/1.553, allocations: 0.9238 MB / 0.9771 GB, free: 9.887 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001768/1.555, allocations: 286.1 kB / 0.9773 GB, free: 9.605 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01667/1.572, allocations: 5.527 MB / 0.9827 GB, free: 4.027 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.281e-05/1.572, allocations: 29.78 kB / 0.9828 GB, free: 4 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.981e-05/1.572, allocations: 4 kB / 0.9828 GB, free: 3.996 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.967e-05/1.572, allocations: 15.94 kB / 0.9828 GB, free: 3.98 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0285/1.6, allocations: 9.288 MB / 0.9918 GB, free: 10.65 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.947e-05/1.6, allocations: 0 / 0.9918 GB, free: 10.65 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005684/1.606, allocations: 0.7237 MB / 0.9926 GB, free: 9.949 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001802/1.608, allocations: 386.2 kB / 0.9929 GB, free: 9.566 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007572/1.609, allocations: 75.92 kB / 0.993 GB, free: 9.492 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01019/1.619, allocations: 6.305 MB / 0.9991 GB, free: 2.91 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.963e-06/1.619, allocations: 4 kB / 0.9992 GB, free: 2.906 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02987/1.649, allocations: 7.924 MB / 1.007 GB, free: 10.91 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003589/1.652, allocations: 0.8147 MB / 1.008 GB, free: 10.07 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001784/1.654, allocations: 68.2 kB / 1.008 GB, free: 10.01 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004489/1.659, allocations: 387.4 kB / 1.008 GB, free: 9.629 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001052/1.66, allocations: 174 kB / 1.008 GB, free: 9.457 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008722/1.66, allocations: 99.92 kB / 1.008 GB, free: 9.359 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.004402/1.665, allocations: 1.756 MB / 1.01 GB, free: 7.594 MB / 0.7637 GB Notification: Performance of sort global known variables: time 9e-08/1.665, allocations: 0 / 1.01 GB, free: 7.594 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.005346/1.67, allocations: 1.037 MB / 1.011 GB, free: 6.555 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (thermalZoneTwoElements.volAir.dynBal.U,thermalZoneTwoElements.volAir.dynBal.m,thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[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 (254): * Single equations (assignments): 247 * 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 {(3,25,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.02614/1.696, allocations: 9.397 MB / 1.02 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.01501/1.711, allocations: 4.628 MB / 1.025 GB, free: 8.902 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/1.711, allocations: 0 / 1.025 GB, free: 8.902 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.007482/1.719, allocations: 2.62 MB / 1.027 GB, free: 6.301 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005179/1.724, allocations: 0.6716 MB / 1.028 GB, free: 5.68 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07924/1.803, allocations: 29.01 MB / 1.056 GB, free: 8.43 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003841/1.807, allocations: 2.456 MB / 1.059 GB, free: 5.938 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.005527/1.813, allocations: 1.111 MB / 1.06 GB, free: 4.824 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003826/1.816, allocations: 1.436 MB / 1.061 GB, free: 3.387 MB / 0.8106 GB Notification: Performance of SimCode: time 1.493e-06/1.816, allocations: 3.938 kB / 1.061 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1645/1.981, allocations: 70.37 MB / 1.13 GB, free: 13.59 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.9/19.89, allocations: 10.97 kB / 1.13 GB, free: 13.59 MB / 0.8887 GB " [Timeout remaining time 640] (rm -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; mkfifo IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; head -c 1048576 < IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe >> ../files/IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomTwoElements_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomTwoElements.fmu > IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 28.36438322206959] Failed to read output from testmodel.py, exit status != 0: 20.128428430762142 20.155153223 18.836467618 Calling exit ...