Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.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.001279/0.001279, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001552/0.001552, allocations: 212.9 kB / 22.25 MB, free: 5.262 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.399/1.399, allocations: 230.6 MB / 256 MB, free: 7.746 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.8347/0.8347, allocations: 134 MB / 446.4 MB, free: 9.922 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.PowerLaw,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLaw",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.001985/0.001985, allocations: 76.84 kB / 0.6185 GB, free: 6.887 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.171/0.173, allocations: 85.91 MB / 0.7024 GB, free: 1.066 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002337/0.1753, allocations: 1.272 MB / 0.7036 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.000297/0.1756, allocations: 107.7 kB / 0.7037 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.766e-05/0.1756, allocations: 0 / 0.7037 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.334e-05/0.1756, allocations: 3.938 kB / 0.7037 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.399e-05/0.1757, allocations: 0 / 0.7037 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000214/0.1759, allocations: 47.81 kB / 0.7038 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.956e-05/0.176, allocations: 15.88 kB / 0.7038 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.929e-05/0.176, allocations: 7.984 kB / 0.7038 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.911e-05/0.1761, allocations: 0 / 0.7038 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.056e-05/0.1761, allocations: 4 kB / 0.7038 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.204e-05/0.1761, allocations: 0 / 0.7038 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000128/0.1762, allocations: 47.94 kB / 0.7039 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.57e-05/0.1763, allocations: 11.92 kB / 0.7039 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.132e-05/0.1763, allocations: 4 kB / 0.7039 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000114/0.1764, allocations: 36.17 kB / 0.7039 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.1764, allocations: 7.938 kB / 0.7039 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.783e-06/0.1764, allocations: 0 / 0.7039 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.001e-05/0.1764, allocations: 0 / 0.7039 GB, free: 15.5 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004035/0.1768, allocations: 262.2 kB / 0.7042 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.1769, allocations: 8.031 kB / 0.7042 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.684e-05/0.1769, allocations: 38.67 kB / 0.7042 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.604e-05/0.1769, allocations: 4.938 kB / 0.7042 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001269/0.177, allocations: 106.5 kB / 0.7043 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.1771, allocations: 384 / 0.7043 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.568e-05/0.1771, allocations: 8.125 kB / 0.7043 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.404e-05/0.1772, allocations: 37.64 kB / 0.7044 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.365e-06/0.1772, allocations: 0 / 0.7044 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.527e-06/0.1772, allocations: 4 kB / 0.7044 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.1772, allocations: 0 / 0.7044 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.23e-05/0.1772, allocations: 7.984 kB / 0.7044 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000161/0.1774, allocations: 124.8 kB / 0.7045 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 5.869e-05/0.1774, allocations: 18.58 kB / 0.7045 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.215e-05/0.1775, allocations: 12.86 kB / 0.7045 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000465/0.1779, allocations: 91.84 kB / 0.7046 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.032e-05/0.178, allocations: 34.56 kB / 0.7046 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.178, allocations: 0 / 0.7046 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0001438/0.1781, allocations: 37.7 kB / 0.7047 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.526e-05/0.1781, allocations: 51.41 kB / 0.7047 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.008e-05/0.1782, allocations: 101.8 kB / 0.7048 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.524e-05/0.1782, allocations: 25.7 kB / 0.7048 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.314e-05/0.1783, allocations: 84.14 kB / 0.7049 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/0.1783, allocations: 3.953 kB / 0.7049 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.891e-05/0.1783, allocations: 13.72 kB / 0.7049 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.1785, allocations: 323 kB / 0.7052 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.427e-05/0.1785, allocations: 4 kB / 0.7053 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.565e-06/0.1785, allocations: 3.938 kB / 0.7053 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.105e-05/0.1785, allocations: 12.86 kB / 0.7053 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1785, allocations: 0 / 0.7053 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.601e-05/0.1786, allocations: 45.64 kB / 0.7053 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.1786, allocations: 7.938 kB / 0.7053 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.1786, allocations: 0 / 0.7053 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.1786, allocations: 3.984 kB / 0.7053 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.923e-05/0.1787, allocations: 8.094 kB / 0.7053 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.1787, allocations: 0 / 0.7053 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.669e-05/0.1787, allocations: 0 / 0.7053 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.792e-06/0.1787, allocations: 4 kB / 0.7053 GB, free: 13.84 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 (2): * Single equations (assignments): 2 * 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 7.732e-05/0.1788, allocations: 109.8 kB / 0.7054 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.012e-05/0.1788, allocations: 3.938 kB / 0.7054 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.812e-05/0.1789, allocations: 49 kB / 0.7055 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.1789, allocations: 0 / 0.7055 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.1789, allocations: 0 / 0.7055 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.1789, allocations: 0 / 0.7055 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001146/0.179, allocations: 140.6 kB / 0.7056 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.179, allocations: 0 / 0.7056 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.125e-05/0.179, allocations: 4 kB / 0.7056 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.179, allocations: 0 / 0.7056 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.021e-06/0.179, allocations: 0 / 0.7056 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.11e-07/0.179, allocations: 0 / 0.7056 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.179, allocations: 0 / 0.7056 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001005/0.1791, allocations: 76.95 kB / 0.7057 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.683e-06/0.1791, allocations: 192 / 0.7057 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.11e-05/0.1791, allocations: 0 / 0.7057 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.986e-05/0.1792, allocations: 8 kB / 0.7057 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.737e-05/0.1792, allocations: 8.016 kB / 0.7057 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.954e-06/0.1792, allocations: 0 / 0.7057 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.934e-05/0.1792, allocations: 79.28 kB / 0.7058 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.1792, allocations: 0 / 0.7058 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001905/0.1794, allocations: 19.92 kB / 0.7058 GB, free: 13.28 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 (2): * Single equations (assignments): 2 * 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.0004681/0.1799, allocations: 0.6123 MB / 0.7064 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 9.297e-05/0.18, allocations: 8 kB / 0.7064 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.18, allocations: 0 / 0.7064 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.581e-05/0.18, allocations: 12.08 kB / 0.7064 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002482/0.1802, allocations: 7.984 kB / 0.7064 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00121/0.1815, allocations: 1.091 MB / 0.7075 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.677e-05/0.1815, allocations: 67.14 kB / 0.7076 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.353e-05/0.1815, allocations: 0 / 0.7076 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.105e-05/0.1816, allocations: 19.5 kB / 0.7076 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of SimCode: time 3.41e-07/0.1816, allocations: 4 kB / 0.7076 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02811/0.2097, allocations: 1.972 MB / 0.7095 GB, free: 9.488 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.54/10.75, allocations: 6.438 kB / 0.7095 GB, free: 9.484 MB / 0.5294 GB " [Timeout remaining time 649] (rm -f IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLaw.fmu > IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.3159598428756] Failed to read output from testmodel.py, exit status != 0: 10.855221160221845 10.871732788 10.692312923 Calling exit ...