Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ClosedDoors.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.Airflow.Multizone.Examples.ClosedDoors,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_Examples_ClosedDoors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.ClosedDoors,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_Examples_ClosedDoors",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.006181/0.006181, allocations: 99.81 kB / 15.73 MB, free: 6.059 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.001202/0.001202, allocations: 195.2 kB / 16.67 MB, free: 5.973 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.331/1.331, 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.807/0.807, allocations: 135.1 MB / 425.7 MB, free: 4.051 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 74.61 kB / 0.5851 GB, free: 21.75 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1557/0.157, allocations: 80.92 MB / 0.6641 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ClosedDoors): time 0.6112/0.7682, allocations: 218.5 MB / 0.8775 GB, free: 4.812 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02507/0.7933, allocations: 20.41 MB / 0.8974 GB, free: 344 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002956/0.7963, allocations: 59.69 kB / 0.8975 GB, free: 284 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.003386/0.7997, allocations: 1.302 MB / 0.8988 GB, free: 14.97 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01023/0.81, allocations: 4.192 MB / 0.9029 GB, free: 10.76 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004146/0.8142, allocations: 1.556 MB / 0.9044 GB, free: 9.207 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.00791/0.8221, allocations: 6.963 MB / 0.9112 GB, free: 2.223 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003241/0.8254, allocations: 2.368 MB / 0.9135 GB, free: 15.81 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004197/0.8296, allocations: 2.43 MB / 0.9159 GB, free: 13.38 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0043/0.8339, allocations: 2.466 MB / 0.9183 GB, free: 10.91 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0005997/0.8345, allocations: 344 kB / 0.9186 GB, free: 10.58 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006689/0.8412, allocations: 3.481 MB / 0.922 GB, free: 7.09 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001543/0.8428, allocations: 1.457 MB / 0.9234 GB, free: 5.629 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.002573/0.8454, allocations: 1.859 MB / 0.9252 GB, free: 3.762 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.009278/0.8546, allocations: 5.796 MB / 0.9309 GB, free: 13.95 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.8547, allocations: 0 / 0.9309 GB, free: 13.95 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.903e-06/0.8547, allocations: 0 / 0.9309 GB, free: 13.95 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.000111/0.8548, allocations: 4 kB / 0.9309 GB, free: 13.95 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 697 * Number of variables: 697 Notification: Performance of Generate backend data structure: time 0.009708/0.8645, allocations: 4.037 MB / 0.9349 GB, free: 9.844 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.8646, allocations: 9.109 kB / 0.9349 GB, free: 9.836 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004784/0.8651, allocations: 387.8 kB / 0.9352 GB, free: 9.449 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004776/0.8699, allocations: 0.8448 MB / 0.9361 GB, free: 8.602 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003887/0.8738, allocations: 1.943 MB / 0.938 GB, free: 6.602 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001328/0.8739, allocations: 201.4 kB / 0.9381 GB, free: 6.402 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004406/0.8744, allocations: 275.9 kB / 0.9384 GB, free: 6.133 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005238/0.8796, allocations: 3.275 MB / 0.9416 GB, free: 2.816 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.731e-05/0.8797, allocations: 0 / 0.9416 GB, free: 2.816 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002582/0.88, allocations: 115.9 kB / 0.9417 GB, free: 2.703 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001108/0.8801, allocations: 125.4 kB / 0.9418 GB, free: 2.578 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007125/0.8872, allocations: 4.612 MB / 0.9463 GB, free: 13.95 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.01712/0.9043, allocations: 10.93 MB / 0.957 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006072/0.9104, allocations: 4.872 MB / 0.9618 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00353/0.914, allocations: 2.528 MB / 0.9642 GB, free: 10.9 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001166/0.9152, allocations: 0.8641 MB / 0.9651 GB, free: 9.875 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.214e-05/0.9153, allocations: 77.7 kB / 0.9652 GB, free: 9.789 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=399): time 6.211e-06/0.9153, allocations: 0 / 0.9652 GB, free: 9.789 MB / 0.7325 GB Notification: Performance of matching and sorting (n=399): time 0.009766/0.925, allocations: 6.028 MB / 0.971 GB, free: 3.676 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.984e-05/0.9251, allocations: 94.55 kB / 0.9711 GB, free: 3.57 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002129/0.9273, allocations: 1.228 MB / 0.9723 GB, free: 2.336 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0002405/0.9275, allocations: 97.64 kB / 0.9724 GB, free: 2.234 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006442/0.9282, allocations: 0.8269 MB / 0.9732 GB, free: 1.398 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.001348/0.9295, allocations: 1.402 MB / 0.9746 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009138/0.9304, allocations: 0.5508 MB / 0.9751 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.9306, allocations: 301.1 kB / 0.9754 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002761/0.9333, allocations: 1.599 MB / 0.977 GB, free: 13.52 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00279/0.9361, allocations: 1.916 MB / 0.9789 GB, free: 11.55 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005544/0.9417, allocations: 3.842 MB / 0.9826 GB, free: 7.652 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.388e-06/0.9417, allocations: 0 / 0.9826 GB, free: 7.652 MB / 0.7481 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.006585/0.9483, allocations: 4.2 MB / 0.9867 GB, free: 3.43 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.473e-05/0.9483, allocations: 4 kB / 0.9867 GB, free: 3.426 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.484e-05/0.9484, allocations: 4 kB / 0.9867 GB, free: 3.422 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.028e-05/0.9484, allocations: 16 kB / 0.9867 GB, free: 3.406 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002922/0.9513, allocations: 0.6865 MB / 0.9874 GB, free: 2.719 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.876e-05/0.9514, allocations: 16 kB / 0.9874 GB, free: 2.703 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002488/0.9539, allocations: 255.6 kB / 0.9877 GB, free: 2.453 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002152/0.9541, allocations: 108 kB / 0.9878 GB, free: 2.348 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (430): * Single equations (assignments): 430 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001469/0.9556, allocations: 0.739 MB / 0.9885 GB, free: 1.598 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005817/0.9562, allocations: 254.4 kB / 0.9887 GB, free: 1.348 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007289/0.9634, allocations: 4.618 MB / 0.9932 GB, free: 12.69 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.719e-05/0.9635, allocations: 36 kB / 0.9933 GB, free: 12.65 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.39e-05/0.9635, allocations: 3.984 kB / 0.9933 GB, free: 12.65 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005774/0.9693, allocations: 3.954 MB / 0.9971 GB, free: 8.637 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01303/0.9824, allocations: 8.262 MB / 1.005 GB, free: 296 kB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.26e-05/0.9824, allocations: 4 kB / 1.005 GB, free: 292 kB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00299/0.9854, allocations: 0.6671 MB / 1.006 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005443/0.986, allocations: 142.5 kB / 1.006 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002865/0.9863, allocations: 79.97 kB / 1.006 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004663/0.991, allocations: 5.086 MB / 1.011 GB, free: 9.887 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.991, allocations: 0 / 1.011 GB, free: 9.887 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0114/1.002, allocations: 7.044 MB / 1.018 GB, free: 2.785 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001915/1.004, allocations: 0.7719 MB / 1.019 GB, free: 1.992 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005707/1.005, allocations: 64 kB / 1.019 GB, free: 1.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002213/1.007, allocations: 93.62 kB / 1.019 GB, free: 1.844 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000435/1.008, allocations: 222.8 kB / 1.019 GB, free: 1.625 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002665/1.008, allocations: 116 kB / 1.019 GB, free: 1.512 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001523/1.009, allocations: 0.8606 MB / 1.02 GB, free: 0.6484 MB / 0.7794 GB Notification: Performance of sort global known variables: time 3.51e-07/1.009, allocations: 0 / 1.02 GB, free: 0.6484 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.002855/1.012, allocations: 1.069 MB / 1.021 GB, free: 15.57 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 15 (dooAB.mExcAB,dooAB.mExcBA,volA.dynBal.U,volA.dynBal.m,volA.dynBal.mXi[1],volB.dynBal.U,volB.dynBal.m,volB.dynBal.mXi[1],volC.dynBal.U,volC.dynBal.m,volC.dynBal.mXi[1],dooAC.mExcAB,dooAC.mExcBA,dooBC.mExcAB,dooBC.mExcBA) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (393): * Single equations (assignments): 390 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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): 3 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01195/1.024, allocations: 7.832 MB / 1.029 GB, free: 7.68 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.006821/1.031, allocations: 4.063 MB / 1.033 GB, free: 3.605 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/1.031, allocations: 0 / 1.033 GB, free: 3.605 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.004163/1.035, allocations: 2.556 MB / 1.035 GB, free: 1.012 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005935/1.041, allocations: 1.076 MB / 1.036 GB, free: 15.94 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04311/1.084, allocations: 23.06 MB / 1.059 GB, free: 8.586 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002147/1.087, allocations: 1.943 MB / 1.061 GB, free: 6.605 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.003933/1.091, allocations: 1.212 MB / 1.062 GB, free: 5.387 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002111/1.093, allocations: 1.085 MB / 1.063 GB, free: 4.301 MB / 0.8262 GB Notification: Performance of SimCode: time 7.82e-07/1.093, allocations: 0 / 1.063 GB, free: 4.301 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4367/1.529, allocations: 66.81 MB / 1.128 GB, free: 287.2 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.95/16.48, allocations: 10.52 kB / 1.128 GB, free: 287.2 MB / 0.8262 GB (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ClosedDoors.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ClosedDoors.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ClosedDoors.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ClosedDoors.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ClosedDoors_res.csv --start-time 0 --stop-time 7200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 2.88 IDEAS_dev_IDEAS_Airflow_Multizone_Examples_ClosedDoors.fmu > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1)