Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.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.001516/0.001516, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.001771/0.001771, allocations: 210.3 kB / 20.13 MB, free: 2.949 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.535/1.535, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.9001/0.9001, allocations: 133.9 MB / 443.5 MB, free: 13.93 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.SimpleRoomOneElement,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomOneElement",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomOneElement",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.001967/0.001967, allocations: 66.89 kB / 0.6141 GB, free: 38.32 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1557/0.1577, allocations: 85.85 MB / 0.6979 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement): time 0.2236/0.3813, allocations: 163.7 MB / 0.8577 GB, free: 10.71 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.5325/0.9138, allocations: 26.73 MB / 0.8839 GB, free: 1.684 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003439/0.9172, allocations: 96.28 kB / 0.8839 GB, free: 1.684 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002125/0.9194, allocations: 0.9959 MB / 0.8849 GB, free: 1.668 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.004864/0.9242, allocations: 1.66 MB / 0.8865 GB, free: 1.625 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004345/0.9286, allocations: 1.621 MB / 0.8881 GB, free: 1.594 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.006778/0.9354, allocations: 4.594 MB / 0.8926 GB, free: 1.59 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004291/0.9397, allocations: 3.39 MB / 0.8959 GB, free: 17.39 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003873/0.9435, allocations: 2.021 MB / 0.8979 GB, free: 17.39 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003436/0.947, allocations: 2.422 MB / 0.9003 GB, free: 17.27 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0008114/0.9478, allocations: 428.4 kB / 0.9007 GB, free: 17.27 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002529/0.9503, allocations: 1.082 MB / 0.9017 GB, free: 17.25 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.000949/0.9512, allocations: 1.125 MB / 0.9028 GB, free: 17.09 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.002163/0.9534, allocations: 1.942 MB / 0.9047 GB, free: 16.53 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.006749/0.9602, allocations: 5.598 MB / 0.9102 GB, free: 15.75 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/0.9602, allocations: 3.25 kB / 0.9102 GB, free: 15.75 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.513e-06/0.9602, allocations: 0.625 kB / 0.9102 GB, free: 15.75 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0001278/0.9603, allocations: 0.8125 kB / 0.9102 GB, free: 15.75 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: 790 * Number of variables: 790 Notification: Performance of Generate backend data structure: time 0.009446/0.9697, allocations: 4.443 MB / 0.9145 GB, free: 13.92 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.9698, allocations: 13.7 kB / 0.9145 GB, free: 13.92 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 8.212e-05/0.9699, allocations: 85.12 kB / 0.9146 GB, free: 13.91 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005851/0.9705, allocations: 437.5 kB / 0.915 GB, free: 13.85 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01593/0.9864, allocations: 3.124 MB / 0.9181 GB, free: 13.62 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004814/0.9912, allocations: 2.244 MB / 0.9203 GB, free: 13.01 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001648/0.9914, allocations: 232.3 kB / 0.9205 GB, free: 13 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000615/0.992, allocations: 299 kB / 0.9208 GB, free: 13 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01511/1.007, allocations: 4.968 MB / 0.9256 GB, free: 12.27 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.289e-05/1.007, allocations: 7.047 kB / 0.9256 GB, free: 12.27 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005807/1.008, allocations: 133.1 kB / 0.9258 GB, free: 12.26 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.964e-05/1.008, allocations: 76.62 kB / 0.9258 GB, free: 12.26 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02462/1.032, allocations: 6.107 MB / 0.9318 GB, free: 10.63 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.04107/1.074, allocations: 13.58 MB / 0.9451 GB, free: 2.008 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01142/1.085, allocations: 4.15 MB / 0.9491 GB, free: 13.95 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005642/1.091, allocations: 2.155 MB / 0.9512 GB, free: 11.78 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001103/1.092, allocations: 0.6769 MB / 0.9519 GB, free: 10.99 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006126/1.098, allocations: 2.38 MB / 0.9542 GB, free: 8.582 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=257): time 5.24e-06/1.098, allocations: 0 / 0.9542 GB, free: 8.582 MB / 0.7012 GB Notification: Performance of matching and sorting (n=257): time 0.0189/1.117, allocations: 6.934 MB / 0.961 GB, free: 1.535 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001584/1.117, allocations: 206 kB / 0.9612 GB, free: 1.289 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004051/1.121, allocations: 2.359 MB / 0.9635 GB, free: 14.9 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0005399/1.121, allocations: 65.7 kB / 0.9635 GB, free: 14.83 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001539/1.123, allocations: 1.343 MB / 0.9649 GB, free: 13.48 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.001226/1.124, allocations: 0.8954 MB / 0.9657 GB, free: 12.59 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009523/1.125, allocations: 460.1 kB / 0.9662 GB, free: 12.14 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001475/1.125, allocations: 301.1 kB / 0.9665 GB, free: 11.84 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004875/1.13, allocations: 1.874 MB / 0.9683 GB, free: 9.961 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005609/1.136, allocations: 2.182 MB / 0.9704 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0107/1.147, allocations: 4.038 MB / 0.9744 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-05/1.147, allocations: 4 kB / 0.9744 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of matching and sorting (n=286) (initialization): time 0.01282/1.159, allocations: 4.655 MB / 0.9789 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.613e-05/1.159, allocations: 4 kB / 0.9789 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.864e-05/1.159, allocations: 7.938 kB / 0.9789 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007459/1.16, allocations: 236.9 kB / 0.9792 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004146/1.164, allocations: 0.7659 MB / 0.9799 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004751/1.169, allocations: 3.392 MB / 0.9832 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004638/1.174, allocations: 0.5214 MB / 0.9837 GB, free: 9.883 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007186/1.174, allocations: 107.9 kB / 0.9838 GB, free: 9.777 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 (264): * Single equations (assignments): 263 * 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 {(2,21,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002872/1.177, allocations: 0.8921 MB / 0.9847 GB, free: 8.902 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001054/1.178, allocations: 274.2 kB / 0.985 GB, free: 8.633 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01379/1.192, allocations: 5.247 MB / 0.9901 GB, free: 3.328 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.647e-05/1.192, allocations: 24 kB / 0.9901 GB, free: 3.305 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.084e-05/1.192, allocations: 8 kB / 0.9901 GB, free: 3.297 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.512e-05/1.192, allocations: 19.88 kB / 0.9901 GB, free: 3.277 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02085/1.213, allocations: 8.835 MB / 0.9988 GB, free: 10.39 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.047e-05/1.213, allocations: 8 kB / 0.9988 GB, free: 10.38 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004063/1.217, allocations: 0.7159 MB / 0.9995 GB, free: 9.688 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009464/1.218, allocations: 272.2 kB / 0.9997 GB, free: 9.414 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004037/1.218, allocations: 75.94 kB / 0.9998 GB, free: 9.34 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005868/1.224, allocations: 5.237 MB / 1.005 GB, free: 3.828 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/1.224, allocations: 0 / 1.005 GB, free: 3.828 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0193/1.244, allocations: 7.544 MB / 1.012 GB, free: 12.2 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002456/1.246, allocations: 0.7875 MB / 1.013 GB, free: 11.39 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006132/1.247, allocations: 55.89 kB / 1.013 GB, free: 11.34 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003135/1.25, allocations: 389 kB / 1.013 GB, free: 10.96 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000456/1.25, allocations: 169.9 kB / 1.014 GB, free: 10.79 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002573/1.251, allocations: 91.94 kB / 1.014 GB, free: 10.7 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.002881/1.253, allocations: 1.72 MB / 1.015 GB, free: 8.969 MB / 0.7637 GB Notification: Performance of sort global known variables: time 8e-08/1.253, allocations: 0 / 1.015 GB, free: 8.969 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.003671/1.257, allocations: 0.978 MB / 1.016 GB, free: 7.988 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (thermalZoneOneElement.volAir.dynBal.U,thermalZoneOneElement.volAir.dynBal.m,thermalZoneOneElement.extWallRC.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 (251): * Single equations (assignments): 244 * 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 {(2,16,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.02232/1.279, allocations: 9.026 MB / 1.025 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0126/1.292, allocations: 4.409 MB / 1.029 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 9.698e-06/1.292, allocations: 8.125 kB / 1.029 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.006403/1.298, allocations: 2.459 MB / 1.032 GB, free: 8.465 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003722/1.302, allocations: 0.6405 MB / 1.033 GB, free: 7.867 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06527/1.367, allocations: 27.77 MB / 1.06 GB, free: 11.84 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002461/1.37, allocations: 2.378 MB / 1.062 GB, free: 9.434 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.00413/1.374, allocations: 1.083 MB / 1.063 GB, free: 8.352 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002645/1.377, allocations: 1.374 MB / 1.064 GB, free: 6.977 MB / 0.8106 GB Notification: Performance of SimCode: time 1.483e-06/1.377, allocations: 0 / 1.064 GB, free: 6.977 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.139/1.516, allocations: 67.09 MB / 1.13 GB, free: 4.418 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.18/20.7, allocations: 3.984 kB / 1.13 GB, free: 4.414 MB / 0.8731 GB " [Timeout remaining time 639] (rm -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; mkfifo IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; head -c 1048576 < IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe >> ../files/IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomOneElement_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomOneElement.fmu > IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 24.956487969961017] Failed to read output from testmodel.py, exit status != 0: 21.295602800964843 21.011303096 20.048026015 Calling exit ...