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.00128/0.00128, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.002168/0.002168, allocations: 212.8 kB / 23.04 MB, free: 5.074 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.423/1.423, allocations: 230.6 MB / 256.8 MB, free: 8.066 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.8731/0.8731, allocations: 134 MB / 447.2 MB, free: 10.27 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.002028/0.002028, allocations: 67.27 kB / 0.6193 GB, free: 7.258 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1898/0.1918, allocations: 85.91 MB / 0.7032 GB, free: 1.43 MB / 0.5138 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements): time 0.634/0.8259, allocations: 166.9 MB / 0.8662 GB, free: 15.71 MB / 0.6388 GB Notification: Performance of NFInst.instExpressions: time 0.04475/0.8706, allocations: 27.78 MB / 0.8933 GB, free: 3.855 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004449/0.875, allocations: 111.2 kB / 0.8934 GB, free: 3.746 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.003458/0.8785, allocations: 1.154 MB / 0.8945 GB, free: 2.586 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.006513/0.885, allocations: 1.96 MB / 0.8965 GB, free: 0.6172 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.005551/0.8906, allocations: 2.05 MB / 0.8985 GB, free: 14.58 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.008873/0.8994, allocations: 5.929 MB / 0.9043 GB, free: 8.637 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006271/0.9057, allocations: 3.575 MB / 0.9077 GB, free: 4.984 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005558/0.9113, allocations: 2.416 MB / 0.9101 GB, free: 2.566 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005485/0.9168, allocations: 2.927 MB / 0.913 GB, free: 15.63 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.00202/0.9188, allocations: 0.5195 MB / 0.9135 GB, free: 15.11 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004397/0.9232, allocations: 1.183 MB / 0.9146 GB, free: 13.93 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.002885/0.9261, allocations: 1.383 MB / 0.916 GB, free: 12.54 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.007442/0.9335, allocations: 2.398 MB / 0.9183 GB, free: 10.13 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01253/0.946, allocations: 6.856 MB / 0.925 GB, free: 3.254 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.946, allocations: 0 / 0.925 GB, free: 3.254 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.643e-06/0.946, allocations: 4 kB / 0.925 GB, free: 3.25 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0002337/0.9463, allocations: 0 / 0.925 GB, free: 3.25 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: 962 * Number of variables: 962 Notification: Performance of Generate backend data structure: time 0.01361/0.9599, allocations: 5.196 MB / 0.9301 GB, free: 13.99 MB / 0.7013 GB Notification: Performance of prepare preOptimizeDAE: time 5.579e-05/0.9599, allocations: 12.03 kB / 0.9301 GB, free: 13.98 MB / 0.7013 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001236/0.9601, allocations: 103.5 kB / 0.9302 GB, free: 13.88 MB / 0.7013 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009507/0.961, allocations: 0.5181 MB / 0.9307 GB, free: 13.35 MB / 0.7013 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01739/0.9784, allocations: 3.207 MB / 0.9338 GB, free: 10.13 MB / 0.7013 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006213/0.9846, allocations: 2.52 MB / 0.9363 GB, free: 7.551 MB / 0.7013 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002627/0.9849, allocations: 279.5 kB / 0.9366 GB, free: 7.277 MB / 0.7013 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001294/0.9862, allocations: 372 kB / 0.9369 GB, free: 6.914 MB / 0.7013 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01533/1.002, allocations: 5.732 MB / 0.9425 GB, free: 1.121 MB / 0.7013 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001049/1.002, allocations: 0 / 0.9425 GB, free: 1.121 MB / 0.7013 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005355/1.002, allocations: 159.9 kB / 0.9427 GB, free: 0.9648 MB / 0.7013 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-05/1.002, allocations: 88 kB / 0.9428 GB, free: 0.8789 MB / 0.7013 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01898/1.021, allocations: 6.866 MB / 0.9495 GB, free: 10 MB / 0.7169 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.03695/1.058, allocations: 17.23 MB / 0.9663 GB, free: 8 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01091/1.069, allocations: 4.215 MB / 0.9704 GB, free: 3.785 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007061/1.076, allocations: 2.713 MB / 0.973 GB, free: 1.066 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001044/1.077, allocations: 158.2 kB / 0.9732 GB, free: 0.9102 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009117/1.086, allocations: 2.721 MB / 0.9759 GB, free: 14.15 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=315): time 9.448e-06/1.086, allocations: 4 kB / 0.9759 GB, free: 14.15 MB / 0.7481 GB Notification: Performance of matching and sorting (n=315): time 0.03315/1.119, allocations: 9.37 MB / 0.985 GB, free: 4.719 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001743/1.12, allocations: 218.4 kB / 0.9852 GB, free: 4.461 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005845/1.125, allocations: 2.691 MB / 0.9878 GB, free: 1.758 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.001085/1.127, allocations: 77.7 kB / 0.9879 GB, free: 1.676 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.00192/1.128, allocations: 1.588 MB / 0.9895 GB, free: 76 kB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.002088/1.131, allocations: 1.104 MB / 0.9905 GB, free: 14.96 MB / 0.7638 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002486/1.133, allocations: 0.5328 MB / 0.9911 GB, free: 14.42 MB / 0.7638 GB Notification: Performance of setup shared object (initialization): time 0.0001316/1.133, allocations: 301.1 kB / 0.9914 GB, free: 14.12 MB / 0.7638 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005914/1.139, allocations: 2.16 MB / 0.9935 GB, free: 11.96 MB / 0.7638 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006597/1.146, allocations: 2.513 MB / 0.9959 GB, free: 9.355 MB / 0.7638 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01303/1.159, allocations: 4.691 MB / 1.001 GB, free: 4.582 MB / 0.7638 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-05/1.159, allocations: 0 / 1.001 GB, free: 4.582 MB / 0.7638 GB Notification: Performance of matching and sorting (n=347) (initialization): time 0.01801/1.177, allocations: 5.73 MB / 1.006 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.434e-05/1.177, allocations: 8 kB / 1.006 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.991e-05/1.177, allocations: 8.094 kB / 1.006 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002055/1.179, allocations: 0.8375 MB / 1.007 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004563/1.183, allocations: 0.7917 MB / 1.008 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01263/1.196, allocations: 7.475 MB / 1.015 GB, free: 5.566 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0045/1.201, allocations: 0.5679 MB / 1.016 GB, free: 4.996 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007798/1.201, allocations: 111.9 kB / 1.016 GB, free: 4.887 MB / 0.7794 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.003352/1.205, allocations: 1.034 MB / 1.017 GB, free: 3.844 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001515/1.206, allocations: 330 kB / 1.017 GB, free: 3.52 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01763/1.224, allocations: 6.358 MB / 1.023 GB, free: 13.1 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.19e-05/1.224, allocations: 28 kB / 1.023 GB, free: 13.07 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.041e-05/1.224, allocations: 12 kB / 1.023 GB, free: 13.06 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.89e-05/1.224, allocations: 15.94 kB / 1.023 GB, free: 13.05 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02474/1.249, allocations: 10.75 MB / 1.034 GB, free: 2.172 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.324e-05/1.249, allocations: 0 / 1.034 GB, free: 2.172 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004134/1.253, allocations: 0.7645 MB / 1.034 GB, free: 1.406 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002091/1.255, allocations: 0.734 MB / 1.035 GB, free: 0.6602 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005368/1.255, allocations: 83.94 kB / 1.035 GB, free: 0.5781 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01409/1.27, allocations: 10.37 MB / 1.045 GB, free: 5.844 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/1.27, allocations: 0 / 1.045 GB, free: 5.844 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02386/1.293, allocations: 9.059 MB / 1.054 GB, free: 12.7 MB / 0.8263 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002888/1.296, allocations: 0.866 MB / 1.055 GB, free: 11.83 MB / 0.8263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001189/1.297, allocations: 67.89 kB / 1.055 GB, free: 11.76 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003885/1.301, allocations: 403.4 kB / 1.056 GB, free: 11.37 MB / 0.8263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000842/1.302, allocations: 226.1 kB / 1.056 GB, free: 11.14 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005458/1.303, allocations: 107.9 kB / 1.056 GB, free: 11.04 MB / 0.8263 GB Notification: Performance of sorting global known variables: time 0.004048/1.307, allocations: 1.956 MB / 1.058 GB, free: 9.078 MB / 0.8263 GB Notification: Performance of sort global known variables: time 8e-08/1.307, allocations: 0 / 1.058 GB, free: 9.078 MB / 0.8263 GB Notification: Performance of remove unused functions: time 0.005098/1.312, allocations: 1.232 MB / 1.059 GB, free: 7.844 MB / 0.8263 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 (270): * Single equations (assignments): 262 * 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.4338/1.746, allocations: 10.55 MB / 1.069 GB, free: 301.3 MB / 0.8263 GB Notification: Performance of simCode: created initialization part: time 0.02025/1.766, allocations: 5.3 MB / 1.074 GB, free: 300.8 MB / 0.8263 GB Notification: Performance of simCode: created event and clocks part: time 8.867e-06/1.766, allocations: 0.9062 kB / 1.074 GB, free: 300.8 MB / 0.8263 GB Notification: Performance of simCode: created simulation system equations: time 0.01117/1.777, allocations: 3.156 MB / 1.078 GB, free: 299.7 MB / 0.8263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006383/1.784, allocations: 0.7785 MB / 1.078 GB, free: 299.4 MB / 0.8263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07618/1.86, allocations: 33.4 MB / 1.111 GB, free: 286 MB / 0.8263 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001856/1.862, allocations: 2.703 MB / 1.114 GB, free: 283.3 MB / 0.8263 GB Notification: Performance of simCode: alias equations: time 0.003471/1.865, allocations: 1.166 MB / 1.115 GB, free: 282.1 MB / 0.8263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002094/1.867, allocations: 1.647 MB / 1.116 GB, free: 280.5 MB / 0.8263 GB Notification: Performance of SimCode: time 8.52e-07/1.867, allocations: 0 / 1.116 GB, free: 280.5 MB / 0.8263 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1438/2.011, allocations: 85.01 MB / 1.199 GB, free: 195.9 MB / 0.8263 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.42/22.43, allocations: 4 kB / 1.199 GB, free: 195.9 MB / 0.8263 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 sys.exit(0), Time elapsed: 28.892752925050445] Failed to read output from testmodel.py, exit status != 0: 22.76327816292178 22.774229147 21.825356445 Calling exit ...