Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.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.001274/0.001274, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001497/0.001497, allocations: 216 kB / 22.26 MB, free: 5.078 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.378/1.378, allocations: 230.6 MB / 256 MB, free: 8.023 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.8263/0.8263, allocations: 134 MB / 446.4 MB, free: 10.23 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.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",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.00189/0.00189, allocations: 66.8 kB / 0.6186 GB, free: 7.238 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.1462, allocations: 85.9 MB / 0.7024 GB, free: 1.41 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002392/0.1486, allocations: 1.324 MB / 0.7037 GB, free: 80 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0005779/0.1492, allocations: 306.8 kB / 0.704 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.39e-05/0.1492, allocations: 0 / 0.704 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.556e-05/0.1492, allocations: 0 / 0.704 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 9.4e-05/0.1493, allocations: 11.92 kB / 0.704 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003048/0.1496, allocations: 85.02 kB / 0.7041 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.542e-05/0.1497, allocations: 35.8 kB / 0.7042 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.788e-05/0.1497, allocations: 7.984 kB / 0.7042 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001201/0.1499, allocations: 27.98 kB / 0.7042 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.902e-05/0.1499, allocations: 11.92 kB / 0.7042 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.246e-05/0.1499, allocations: 0 / 0.7042 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000171/0.1501, allocations: 83.91 kB / 0.7043 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.461e-05/0.1501, allocations: 11.92 kB / 0.7043 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.123e-05/0.1501, allocations: 15.94 kB / 0.7043 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001631/0.1503, allocations: 72 kB / 0.7044 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1503, allocations: 0 / 0.7044 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.242e-06/0.1503, allocations: 3.938 kB / 0.7044 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.04e-06/0.1503, allocations: 7.938 kB / 0.7044 GB, free: 15.41 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003669/0.1507, allocations: 278.1 kB / 0.7047 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.1507, allocations: 8.031 kB / 0.7047 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.838e-05/0.1507, allocations: 34.75 kB / 0.7047 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.741e-05/0.1508, allocations: 8.938 kB / 0.7047 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/0.1509, allocations: 114.4 kB / 0.7048 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.1509, allocations: 4.375 kB / 0.7048 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.346e-06/0.1509, allocations: 4.125 kB / 0.7048 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001023/0.151, allocations: 37.69 kB / 0.7049 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.151, allocations: 0 / 0.7049 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.325e-06/0.151, allocations: 4 kB / 0.7049 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.151, allocations: 0 / 0.7049 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.064e-05/0.1511, allocations: 7.938 kB / 0.7049 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001673/0.1512, allocations: 132.8 kB / 0.705 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 8.796e-05/0.1513, allocations: 38.55 kB / 0.705 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.477e-05/0.1514, allocations: 16.86 kB / 0.705 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006638/0.152, allocations: 135.9 kB / 0.7052 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.161e-05/0.152, allocations: 34.55 kB / 0.7052 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.152, allocations: 0 / 0.7052 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0001547/0.1522, allocations: 61.58 kB / 0.7053 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.731e-05/0.1523, allocations: 51.41 kB / 0.7053 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.758e-05/0.1523, allocations: 105.8 kB / 0.7054 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.991e-05/0.1523, allocations: 25.7 kB / 0.7054 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.63e-05/0.1524, allocations: 92.12 kB / 0.7055 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.089e-05/0.1524, allocations: 3.953 kB / 0.7055 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.751e-05/0.1525, allocations: 21.7 kB / 0.7056 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.1526, allocations: 310.8 kB / 0.7059 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.657e-05/0.1526, allocations: 4 kB / 0.7059 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.421e-05/0.1526, allocations: 8 kB / 0.7059 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.465e-05/0.1527, allocations: 16.84 kB / 0.7059 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1527, allocations: 0 / 0.7059 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.862e-05/0.1527, allocations: 53.53 kB / 0.7059 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.1528, allocations: 8 kB / 0.7059 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.1528, allocations: 0 / 0.7059 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.1528, allocations: 0 / 0.7059 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.423e-05/0.1528, allocations: 7.984 kB / 0.7059 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.1528, allocations: 4 kB / 0.706 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.625e-05/0.1529, allocations: 0 / 0.706 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.132e-06/0.1529, allocations: 4 kB / 0.706 GB, free: 13.61 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * 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 8.391e-05/0.1529, allocations: 109.8 kB / 0.7061 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.251e-05/0.153, allocations: 3.938 kB / 0.7061 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001285/0.1531, allocations: 73.55 kB / 0.7061 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.1531, allocations: 0 / 0.7061 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.1531, allocations: 0 / 0.7061 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.1531, allocations: 0 / 0.7061 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001238/0.1532, allocations: 136.7 kB / 0.7063 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1532, allocations: 0 / 0.7063 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.839e-05/0.1532, allocations: 8 kB / 0.7063 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.1532, allocations: 3.938 kB / 0.7063 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.979e-06/0.1532, allocations: 4 kB / 0.7063 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.1533, allocations: 4 kB / 0.7063 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.1533, allocations: 0 / 0.7063 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001012/0.1534, allocations: 73.02 kB / 0.7064 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.404e-05/0.1534, allocations: 15.92 kB / 0.7064 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.08e-05/0.1534, allocations: 0 / 0.7064 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.683e-05/0.1534, allocations: 0 / 0.7064 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.21e-05/0.1535, allocations: 4.422 kB / 0.7064 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.927e-06/0.1535, allocations: 4 kB / 0.7064 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.195e-05/0.1535, allocations: 91.58 kB / 0.7065 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.1535, allocations: 0 / 0.7065 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002099/0.1537, allocations: 27.88 kB / 0.7065 GB, free: 12.98 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.000462/0.1542, allocations: 0.6357 MB / 0.7071 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 7.96e-05/0.1543, allocations: 19.92 kB / 0.7071 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.1543, allocations: 0 / 0.7071 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.746e-05/0.1543, allocations: 12 kB / 0.7071 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001817/0.1545, allocations: 4 kB / 0.7071 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003806/0.1548, allocations: 163.8 kB / 0.7073 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003058/0.1552, allocations: 0.6844 MB / 0.708 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 4.182e-05/0.1552, allocations: 16.2 kB / 0.708 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.591e-05/0.1552, allocations: 11.44 kB / 0.708 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of SimCode: time 3.91e-07/0.1552, allocations: 0 / 0.708 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02608/0.1813, allocations: 1.736 MB / 0.7097 GB, free: 9.758 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.22/10.4, allocations: 12.05 kB / 0.7097 GB, free: 9.746 MB / 0.5294 GB " [Timeout remaining time 650] (rm -f IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.fmu > IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.715043849078938] Failed to read output from testmodel.py, exit status != 0: 10.495835362002254 10.511289596 10.358069169 Calling exit ...