Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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) 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.SimpleRoomTwoElements,fileNamePrefix="IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomTwoElements",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements,fileNamePrefix="IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomTwoElements",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.007127/0.007127, allocations: 96.7 kB / 15.73 MB, free: 6.055 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.001621/0.001621, allocations: 198.7 kB / 16.68 MB, free: 5.977 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.496/1.496, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.067/1.067, allocations: 135.6 MB / 426.1 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001904/0.001904, allocations: 64.03 kB / 0.5857 GB, free: 3.207 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5048/0.5067, allocations: 81.03 MB / 0.6649 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements): time 0.2174/0.7241, allocations: 160.8 MB / 0.8218 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.04093/0.7651, allocations: 26.78 MB / 0.848 GB, free: 4.77 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003495/0.7686, allocations: 75.56 kB / 0.8481 GB, free: 4.695 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002814/0.7715, allocations: 1.014 MB / 0.8491 GB, free: 3.676 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.005704/0.7772, allocations: 1.668 MB / 0.8507 GB, free: 2.004 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004746/0.782, allocations: 1.708 MB / 0.8524 GB, free: 312 kB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.007782/0.7898, allocations: 4.83 MB / 0.8571 GB, free: 11.46 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006683/0.7965, allocations: 4.256 MB / 0.8612 GB, free: 7.137 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005051/0.8016, allocations: 2.001 MB / 0.8632 GB, free: 5.129 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004809/0.8064, allocations: 2.455 MB / 0.8656 GB, free: 2.668 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001283/0.8077, allocations: 452 kB / 0.866 GB, free: 2.227 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00303/0.8108, allocations: 1.05 MB / 0.867 GB, free: 1.176 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.00137/0.8122, allocations: 1.172 MB / 0.8682 GB, free: 0 / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.003389/1.279, allocations: 2.03 MB / 0.8702 GB, free: 11.42 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.008821/1.288, allocations: 5.827 MB / 0.8759 GB, free: 11.12 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/1.288, allocations: 0 / 0.8759 GB, free: 11.12 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.235e-06/1.288, allocations: 0 / 0.8759 GB, free: 11.12 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.000193/1.288, allocations: 0.9062 kB / 0.8759 GB, free: 11.12 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.01321/1.301, allocations: 4.609 MB / 0.8804 GB, free: 9.262 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.33e-05/1.301, allocations: 13.09 kB / 0.8804 GB, free: 9.262 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001038/1.303, allocations: 455.2 kB / 0.8808 GB, free: 9.203 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01494/1.317, allocations: 2.793 MB / 0.8835 GB, free: 8.969 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006069/1.324, allocations: 2.31 MB / 0.8858 GB, free: 8.344 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002444/1.324, allocations: 241.8 kB / 0.886 GB, free: 8.336 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0011/1.325, allocations: 314.1 kB / 0.8863 GB, free: 8.336 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01285/1.338, allocations: 5.146 MB / 0.8913 GB, free: 8.066 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.777e-05/1.338, allocations: 2.625 kB / 0.8913 GB, free: 8.066 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000404/1.338, allocations: 132.8 kB / 0.8915 GB, free: 8.066 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.569e-05/1.338, allocations: 82.44 kB / 0.8916 GB, free: 8.066 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01518/1.354, allocations: 6.285 MB / 0.8977 GB, free: 8.035 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.02662/1.38, allocations: 14.45 MB / 0.9118 GB, free: 4.316 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00964/1.39, allocations: 4.511 MB / 0.9162 GB, free: 4.242 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005184/1.395, allocations: 2.456 MB / 0.9186 GB, free: 4.223 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007759/1.396, allocations: 0.6679 MB / 0.9193 GB, free: 3.562 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005074/1.401, allocations: 2.46 MB / 0.9217 GB, free: 3.34 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=270): time 4.498e-06/1.401, allocations: 0 / 0.9217 GB, free: 3.34 MB / 0.6856 GB Notification: Performance of matching and sorting (n=270): time 0.01793/1.419, allocations: 7.552 MB / 0.929 GB, free: 1.195 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.652e-05/1.419, allocations: 211.3 kB / 0.9292 GB, free: 0.9727 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003267/1.422, allocations: 2.397 MB / 0.9316 GB, free: 396 kB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0007098/1.423, allocations: 72.48 kB / 0.9316 GB, free: 364 kB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.00117/1.424, allocations: 1.384 MB / 0.933 GB, free: 15.68 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.001601/1.426, allocations: 0.9417 MB / 0.9339 GB, free: 14.99 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009766/1.427, allocations: 482.5 kB / 0.9344 GB, free: 14.89 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001384/1.427, allocations: 303 kB / 0.9347 GB, free: 14.59 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004447/1.431, allocations: 1.953 MB / 0.9366 GB, free: 14.13 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005049/1.436, allocations: 2.265 MB / 0.9388 GB, free: 13.41 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009754/1.446, allocations: 4.204 MB / 0.9429 GB, free: 12.42 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.266e-05/1.446, allocations: 0 / 0.9429 GB, free: 12.42 MB / 0.7012 GB Notification: Performance of matching and sorting (n=300) (initialization): time 0.0138/1.46, allocations: 4.921 MB / 0.9477 GB, free: 7.699 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.134e-05/1.46, allocations: 14.78 kB / 0.9477 GB, free: 7.688 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.546e-05/1.46, allocations: 4 kB / 0.9477 GB, free: 7.684 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009391/1.461, allocations: 342 kB / 0.948 GB, free: 7.348 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004413/1.466, allocations: 0.7728 MB / 0.9488 GB, free: 6.602 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006308/1.472, allocations: 4.253 MB / 0.9529 GB, free: 2.227 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004883/1.477, allocations: 0.5331 MB / 0.9535 GB, free: 1.691 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008899/1.478, allocations: 104 kB / 0.9536 GB, free: 1.59 MB / 0.7012 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.002986/1.481, allocations: 0.9336 MB / 0.9545 GB, free: 0.6758 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001017/1.482, allocations: 286.1 kB / 0.9548 GB, free: 404 kB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01447/1.496, allocations: 5.538 MB / 0.9602 GB, free: 10.81 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.127e-05/1.496, allocations: 31.94 kB / 0.9602 GB, free: 10.78 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.097e-05/1.496, allocations: 4 kB / 0.9602 GB, free: 10.78 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.216e-05/1.496, allocations: 15.94 kB / 0.9602 GB, free: 10.76 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02057/1.517, allocations: 9.313 MB / 0.9693 GB, free: 1.426 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.647e-06/1.517, allocations: 0 / 0.9693 GB, free: 1.426 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003864/1.521, allocations: 0.7316 MB / 0.97 GB, free: 0.7148 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001153/1.522, allocations: 385.6 kB / 0.9704 GB, free: 340 kB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003723/1.522, allocations: 79.92 kB / 0.9705 GB, free: 260 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00745/1.53, allocations: 6.293 MB / 0.9766 GB, free: 9.691 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/1.53, allocations: 4 kB / 0.9766 GB, free: 9.688 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02104/1.551, allocations: 7.934 MB / 0.9844 GB, free: 1.676 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002769/1.554, allocations: 0.8186 MB / 0.9852 GB, free: 0.8359 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000767/1.555, allocations: 63.88 kB / 0.9852 GB, free: 0.7734 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003342/1.558, allocations: 391.4 kB / 0.9856 GB, free: 400 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004791/1.558, allocations: 178 kB / 0.9858 GB, free: 220 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002985/1.559, allocations: 99.92 kB / 0.9859 GB, free: 120 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.00305/1.562, allocations: 1.747 MB / 0.9876 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.5e-07/1.562, allocations: 0 / 0.9876 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.003712/1.565, allocations: 1.027 MB / 0.9886 GB, free: 13.33 MB / 0.7481 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.02347/1.589, allocations: 9.435 MB / 0.9978 GB, free: 4.238 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.01321/1.602, allocations: 4.776 MB / 1.002 GB, free: 15.45 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 6.672e-06/1.602, allocations: 2.625 kB / 1.002 GB, free: 15.45 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.007053/1.609, allocations: 2.761 MB / 1.005 GB, free: 12.71 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004055/1.613, allocations: 0.6781 MB / 1.006 GB, free: 12.07 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07418/1.688, allocations: 29.03 MB / 1.034 GB, free: 14.82 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003099/1.691, allocations: 2.448 MB / 1.037 GB, free: 12.34 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.004926/1.696, allocations: 1.1 MB / 1.038 GB, free: 11.23 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003857/1.7, allocations: 1.44 MB / 1.039 GB, free: 9.789 MB / 0.795 GB Notification: Performance of SimCode: time 1.693e-06/1.7, allocations: 0 / 1.039 GB, free: 9.789 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1518/1.851, allocations: 70.05 MB / 1.107 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.38/20.24, allocations: 17.91 kB / 1.107 GB, free: 4.344 MB / 0.8575 GB (rm -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; mkfifo IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe >> ../files/IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomTwoElements_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomTwoElements.fmu > IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe 2>&1)