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.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.001772/0.001772, allocations: 105.2 kB / 19.72 MB, free: 2.234 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.002113/0.002113, allocations: 214.3 kB / 23.04 MB, free: 5.07 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.493/1.493, allocations: 230.6 MB / 256.8 MB, free: 7.969 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.8773/0.8773, allocations: 134 MB / 447.2 MB, free: 10.26 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.SimpleRoomTwoElements,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomTwoElements",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomTwoElements",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.00193/0.00193, allocations: 68.19 kB / 0.6193 GB, free: 7.242 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1624/0.1643, allocations: 85.91 MB / 0.7032 GB, free: 1.41 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements): time 0.6122/0.7765, allocations: 164.6 MB / 0.8639 GB, free: 1.902 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.03888/0.8154, allocations: 27.1 MB / 0.8904 GB, free: 6.719 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003027/0.8184, allocations: 99.25 kB / 0.8905 GB, free: 6.621 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002554/0.821, allocations: 1.026 MB / 0.8915 GB, free: 5.59 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.00507/0.8261, allocations: 1.742 MB / 0.8932 GB, free: 3.844 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.00435/0.8304, allocations: 1.749 MB / 0.8949 GB, free: 2.105 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.006418/0.8368, allocations: 4.891 MB / 0.8997 GB, free: 13.2 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004579/0.8414, allocations: 3.113 MB / 0.9027 GB, free: 10.03 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004004/0.8454, allocations: 2.113 MB / 0.9048 GB, free: 7.91 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003969/0.8494, allocations: 2.526 MB / 0.9072 GB, free: 5.375 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0008891/0.8503, allocations: 452 kB / 0.9077 GB, free: 4.934 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002471/0.8527, allocations: 1.105 MB / 0.9087 GB, free: 3.828 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001191/0.8539, allocations: 1.184 MB / 0.9099 GB, free: 2.641 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.00325/0.8572, allocations: 2.045 MB / 0.9119 GB, free: 0.5859 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.008349/0.8655, allocations: 5.893 MB / 0.9176 GB, free: 10.67 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.8655, allocations: 0 / 0.9176 GB, free: 10.67 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.533e-06/0.8655, allocations: 0 / 0.9176 GB, free: 10.67 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0001365/0.8657, allocations: 4 kB / 0.9176 GB, free: 10.67 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.01013/0.8758, allocations: 4.565 MB / 0.9221 GB, free: 6.039 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/0.8758, allocations: 12.03 kB / 0.9221 GB, free: 6.027 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 9.931e-05/0.8759, allocations: 86.47 kB / 0.9222 GB, free: 5.941 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000643/0.8766, allocations: 452 kB / 0.9226 GB, free: 5.488 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01724/0.8938, allocations: 3.145 MB / 0.9257 GB, free: 2.336 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007013/0.9008, allocations: 2.281 MB / 0.9279 GB, free: 15.99 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000265/0.9011, allocations: 238.4 kB / 0.9282 GB, free: 15.76 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001447/0.9026, allocations: 324 kB / 0.9285 GB, free: 15.44 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01284/0.9154, allocations: 5.132 MB / 0.9335 GB, free: 10.23 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.824e-05/0.9155, allocations: 7.984 kB / 0.9335 GB, free: 10.22 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003788/0.9158, allocations: 139.9 kB / 0.9336 GB, free: 10.09 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.461e-05/0.9159, allocations: 76 kB / 0.9337 GB, free: 10.01 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01582/0.9317, allocations: 6.285 MB / 0.9398 GB, free: 3.715 MB / 0.7012 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.03355/0.9653, allocations: 14.42 MB / 0.9539 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01145/0.9767, allocations: 4.297 MB / 0.9581 GB, free: 472 kB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005897/0.9826, allocations: 2.282 MB / 0.9603 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007839/0.9834, allocations: 150.2 kB / 0.9605 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006914/0.9903, allocations: 2.469 MB / 0.9629 GB, free: 11.51 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=270): time 7.193e-06/0.9903, allocations: 0 / 0.9629 GB, free: 11.51 MB / 0.7325 GB Notification: Performance of matching and sorting (n=270): time 0.02112/1.011, allocations: 7.299 MB / 0.97 GB, free: 4.148 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001641/1.012, allocations: 218 kB / 0.9702 GB, free: 3.891 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004027/1.016, allocations: 2.438 MB / 0.9726 GB, free: 1.426 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0006339/1.016, allocations: 77.64 kB / 0.9727 GB, free: 1.344 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001622/1.018, allocations: 1.395 MB / 0.974 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.001368/1.019, allocations: 0.9295 MB / 0.9749 GB, free: 15 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001002/1.02, allocations: 484.4 kB / 0.9754 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001575/1.02, allocations: 301.1 kB / 0.9757 GB, free: 14.22 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004928/1.025, allocations: 1.952 MB / 0.9776 GB, free: 12.26 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005702/1.031, allocations: 2.27 MB / 0.9798 GB, free: 9.906 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01147/1.043, allocations: 4.203 MB / 0.9839 GB, free: 5.613 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.157e-05/1.043, allocations: 0 / 0.9839 GB, free: 5.613 MB / 0.7481 GB Notification: Performance of matching and sorting (n=300) (initialization): time 0.01352/1.056, allocations: 4.912 MB / 0.9887 GB, free: 0.6484 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.275e-05/1.056, allocations: 10.34 kB / 0.9887 GB, free: 0.6406 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.825e-05/1.056, allocations: 4 kB / 0.9887 GB, free: 0.6367 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001078/1.057, allocations: 344.6 kB / 0.9891 GB, free: 304 kB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004783/1.062, allocations: 0.7722 MB / 0.9898 GB, free: 15.52 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006395/1.068, allocations: 4.145 MB / 0.9939 GB, free: 11.27 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004371/1.073, allocations: 0.5369 MB / 0.9944 GB, free: 10.73 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005255/1.073, allocations: 103.9 kB / 0.9945 GB, free: 10.63 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 (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.002325/1.076, allocations: 0.9226 MB / 0.9954 GB, free: 9.695 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008686/1.076, allocations: 290.2 kB / 0.9957 GB, free: 9.41 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01419/1.091, allocations: 5.536 MB / 1.001 GB, free: 3.809 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.788e-05/1.091, allocations: 28 kB / 1.001 GB, free: 3.781 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.048e-05/1.091, allocations: 4 kB / 1.001 GB, free: 3.777 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.67e-05/1.091, allocations: 19.94 kB / 1.001 GB, free: 3.758 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02073/1.111, allocations: 9.318 MB / 1.01 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.008e-05/1.111, allocations: 0 / 1.01 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00383/1.115, allocations: 0.7293 MB / 1.011 GB, free: 9.594 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001214/1.116, allocations: 394.5 kB / 1.011 GB, free: 9.199 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002873/1.117, allocations: 75.94 kB / 1.011 GB, free: 9.125 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007728/1.125, allocations: 6.103 MB / 1.017 GB, free: 2.77 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/1.125, allocations: 3.938 kB / 1.017 GB, free: 2.766 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0193/1.144, allocations: 7.913 MB / 1.025 GB, free: 10.76 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002321/1.146, allocations: 0.7648 MB / 1.026 GB, free: 9.988 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005851/1.147, allocations: 67.77 kB / 1.026 GB, free: 9.922 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003215/1.15, allocations: 391.4 kB / 1.026 GB, free: 9.539 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005091/1.15, allocations: 189.8 kB / 1.026 GB, free: 9.352 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002742/1.151, allocations: 99.92 kB / 1.027 GB, free: 9.254 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.002882/1.154, allocations: 1.777 MB / 1.028 GB, free: 7.465 MB / 0.795 GB Notification: Performance of sort global known variables: time 9.1e-08/1.154, allocations: 0 / 1.028 GB, free: 7.465 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.00337/1.157, allocations: 1.033 MB / 1.029 GB, free: 6.43 MB / 0.795 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.02252/1.179, allocations: 9.412 MB / 1.038 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.01231/1.192, allocations: 4.624 MB / 1.043 GB, free: 8.625 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 6.211e-06/1.192, allocations: 0 / 1.043 GB, free: 8.625 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.006761/1.199, allocations: 2.617 MB / 1.046 GB, free: 5.977 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004246/1.203, allocations: 0.6694 MB / 1.046 GB, free: 5.34 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4527/1.656, allocations: 29.15 MB / 1.075 GB, free: 300.7 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003124/1.659, allocations: 2.459 MB / 1.077 GB, free: 299.9 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.004203/1.663, allocations: 1.107 MB / 1.078 GB, free: 299.9 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002295/1.665, allocations: 1.456 MB / 1.08 GB, free: 298.8 MB / 0.8262 GB Notification: Performance of SimCode: time 1.352e-06/1.665, allocations: 0 / 1.08 GB, free: 298.8 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1296/1.795, allocations: 72.73 MB / 1.151 GB, free: 245.8 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.89/20.69, allocations: 13.42 kB / 1.151 GB, free: 245.8 MB / 0.8262 GB " [Timeout remaining time 639] (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: 26.972353886114433] Failed to read output from testmodel.py, exit status != 0: 21.006460641045123 21.025585947 20.156279835 Calling exit ...