Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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.SimpleRoomOneElement,fileNamePrefix="IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomOneElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement,fileNamePrefix="IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomOneElement",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005635/0.005635, allocations: 104.7 kB / 15.74 MB, free: 5.988 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 196.2 kB / 16.67 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.363/1.363, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8289/0.8289, allocations: 135.1 MB / 425.7 MB, free: 4.078 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 60.88 kB / 0.5851 GB, free: 22.04 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1954/0.1967, allocations: 80.92 MB / 0.6641 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement): time 0.6011/0.7978, allocations: 160.1 MB / 0.8205 GB, free: 6.18 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.03503/0.8329, allocations: 26.61 MB / 0.8465 GB, free: 416 kB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004171/0.8371, allocations: 71.59 kB / 0.8465 GB, free: 392 kB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002939/0.8402, allocations: 0.9728 MB / 0.8475 GB, free: 15.69 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.005562/0.8458, allocations: 1.609 MB / 0.8491 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.005157/0.851, allocations: 1.647 MB / 0.8507 GB, free: 13.19 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.006342/0.8573, allocations: 4.578 MB / 0.8551 GB, free: 10.42 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006128/0.8635, allocations: 4.102 MB / 0.8591 GB, free: 7.59 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005138/0.8686, allocations: 1.96 MB / 0.8611 GB, free: 5.629 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004526/0.8732, allocations: 2.332 MB / 0.8633 GB, free: 3.289 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.001354/0.8745, allocations: 424 kB / 0.8637 GB, free: 2.875 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002957/0.8775, allocations: 1.03 MB / 0.8647 GB, free: 1.844 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.001674/0.8792, allocations: 1.114 MB / 0.8658 GB, free: 0.7266 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.003606/0.8828, allocations: 1.932 MB / 0.8677 GB, free: 14.79 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.008353/0.8912, allocations: 5.503 MB / 0.8731 GB, free: 9.266 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.8912, allocations: 0 / 0.8731 GB, free: 9.266 MB / 0.6387 GB Notification: Performance of FrontEnd: time 3.086e-06/0.8912, allocations: 7.938 kB / 0.8731 GB, free: 9.258 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0002204/0.8914, allocations: 0 / 0.8731 GB, free: 9.258 MB / 0.6387 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.01189/0.9033, allocations: 4.301 MB / 0.8773 GB, free: 4.883 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.473e-05/0.9034, allocations: 13.11 kB / 0.8773 GB, free: 4.871 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006202/0.904, allocations: 434.2 kB / 0.8777 GB, free: 4.434 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01301/0.917, allocations: 2.76 MB / 0.8804 GB, free: 1.664 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005041/0.9221, allocations: 2.215 MB / 0.8826 GB, free: 15.4 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001762/0.9223, allocations: 230.2 kB / 0.8828 GB, free: 15.17 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006408/0.9229, allocations: 300 kB / 0.8831 GB, free: 14.88 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01089/0.9338, allocations: 4.959 MB / 0.8879 GB, free: 9.836 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.086e-05/0.9339, allocations: 0 / 0.8879 GB, free: 9.836 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003284/0.9343, allocations: 128 kB / 0.8881 GB, free: 9.711 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-05/0.9343, allocations: 83.94 kB / 0.8881 GB, free: 9.629 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01359/0.9479, allocations: 6.099 MB / 0.8941 GB, free: 3.516 MB / 0.6544 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.02574/0.9737, allocations: 13.55 MB / 0.9073 GB, free: 5.527 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009936/0.9837, allocations: 4.359 MB / 0.9116 GB, free: 1.164 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004854/0.9886, allocations: 2.315 MB / 0.9138 GB, free: 14.85 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009101/0.9895, allocations: 0.6696 MB / 0.9145 GB, free: 14.05 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005158/0.9947, allocations: 2.374 MB / 0.9168 GB, free: 11.64 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=257): time 4.929e-06/0.9947, allocations: 0 / 0.9168 GB, free: 11.64 MB / 0.6856 GB Notification: Performance of matching and sorting (n=257): time 0.01708/1.012, allocations: 6.935 MB / 0.9236 GB, free: 4.578 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001409/1.012, allocations: 214 kB / 0.9238 GB, free: 4.324 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004014/1.016, allocations: 2.311 MB / 0.9261 GB, free: 1.98 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0002611/1.016, allocations: 73.64 kB / 0.9261 GB, free: 1.902 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001331/1.018, allocations: 1.302 MB / 0.9274 GB, free: 0.582 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009717/1.019, allocations: 0.8474 MB / 0.9282 GB, free: 15.72 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001008/1.02, allocations: 460 kB / 0.9287 GB, free: 15.26 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001118/1.02, allocations: 301.1 kB / 0.9289 GB, free: 14.96 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004475/1.024, allocations: 1.874 MB / 0.9308 GB, free: 13.09 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004764/1.029, allocations: 2.192 MB / 0.9329 GB, free: 10.8 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009132/1.038, allocations: 4.037 MB / 0.9369 GB, free: 6.676 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.096e-06/1.038, allocations: 0 / 0.9369 GB, free: 6.676 MB / 0.7012 GB Notification: Performance of matching and sorting (n=286) (initialization): time 0.01115/1.049, allocations: 4.655 MB / 0.9414 GB, free: 1.965 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.961e-05/1.049, allocations: 9.719 kB / 0.9414 GB, free: 1.957 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.631e-05/1.049, allocations: 4 kB / 0.9414 GB, free: 1.953 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006739/1.05, allocations: 236.8 kB / 0.9416 GB, free: 1.719 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003757/1.054, allocations: 0.7605 MB / 0.9424 GB, free: 0.957 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004479/1.058, allocations: 3.365 MB / 0.9457 GB, free: 13.45 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003727/1.062, allocations: 0.5286 MB / 0.9462 GB, free: 12.92 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004204/1.063, allocations: 99.91 kB / 0.9463 GB, free: 12.82 MB / 0.7169 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.002192/1.065, allocations: 0.885 MB / 0.9471 GB, free: 11.93 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001019/1.066, allocations: 260.9 kB / 0.9474 GB, free: 11.67 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01316/1.079, allocations: 5.268 MB / 0.9525 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.388e-05/1.079, allocations: 24 kB / 0.9526 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.467e-05/1.079, allocations: 7.938 kB / 0.9526 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.267e-05/1.079, allocations: 15.89 kB / 0.9526 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01946/1.099, allocations: 8.81 MB / 0.9612 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.135e-05/1.099, allocations: 0 / 0.9612 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003576/1.102, allocations: 0.7176 MB / 0.9619 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000887/1.103, allocations: 268.2 kB / 0.9621 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003206/1.103, allocations: 71.94 kB / 0.9622 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005534/1.109, allocations: 5.252 MB / 0.9673 GB, free: 6.742 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/1.109, allocations: 0 / 0.9673 GB, free: 6.742 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01732/1.126, allocations: 7.537 MB / 0.9747 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002317/1.129, allocations: 0.7666 MB / 0.9755 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000775/1.13, allocations: 71.77 kB / 0.9755 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003211/1.133, allocations: 383.4 kB / 0.9759 GB, free: 13.87 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004589/1.133, allocations: 165.9 kB / 0.976 GB, free: 13.71 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002964/1.134, allocations: 99.92 kB / 0.9761 GB, free: 13.61 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.003005/1.137, allocations: 1.688 MB / 0.9778 GB, free: 11.91 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.81e-07/1.137, allocations: 0 / 0.9778 GB, free: 11.91 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.003369/1.14, allocations: 0.9621 MB / 0.9787 GB, free: 10.94 MB / 0.7481 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.01964/1.16, allocations: 9.016 MB / 0.9875 GB, free: 2.168 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.01106/1.171, allocations: 4.557 MB / 0.992 GB, free: 13.56 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 6.221e-06/1.171, allocations: 0 / 0.992 GB, free: 13.56 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.005927/1.177, allocations: 2.604 MB / 0.9945 GB, free: 10.93 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003842/1.181, allocations: 0.6452 MB / 0.9952 GB, free: 10.31 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06356/1.244, allocations: 27.57 MB / 1.022 GB, free: 14.37 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003255/1.247, allocations: 2.366 MB / 1.024 GB, free: 11.97 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.004679/1.252, allocations: 1.082 MB / 1.025 GB, free: 10.89 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002935/1.255, allocations: 1.362 MB / 1.027 GB, free: 9.527 MB / 0.795 GB Notification: Performance of SimCode: time 1.423e-06/1.255, allocations: 7.938 kB / 1.027 GB, free: 9.52 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4965/1.752, allocations: 67.51 MB / 1.093 GB, free: 313.6 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.11/19.86, allocations: 5.875 kB / 1.093 GB, free: 313.6 MB / 0.8262 GB (rm -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; mkfifo IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe >> ../files/IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomOneElement_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomOneElement.fmu > IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe 2>&1)