Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0007414/0.0007414, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0007355/0.0007355, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.8836/0.8836, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.71/0.71, allocations: 154.5 MB / 413.7 MB, free: 0.8398 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_dev_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 0.6181 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.204e-05/2.409e-05, allocations: 8.062 kB / 0.6181 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.001685/0.001709, allocations: 1.294 MB / 0.6193 GB, free: 12.39 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0003791/0.002088, allocations: 255 kB / 0.6196 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.818e-05/0.002116, allocations: 0 / 0.6196 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.765e-05/0.002134, allocations: 3.984 kB / 0.6196 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 8.689e-05/0.002221, allocations: 15.84 kB / 0.6196 GB, free: 12.12 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002522/0.002473, allocations: 59.73 kB / 0.6196 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.7e-05/0.00254, allocations: 43.86 kB / 0.6197 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.766e-05/0.002578, allocations: 3.984 kB / 0.6197 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001044/0.002682, allocations: 35.91 kB / 0.6197 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.233e-05/0.002725, allocations: 11.92 kB / 0.6197 GB, free: 11.97 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.402e-05/0.002739, allocations: 0 / 0.6197 GB, free: 11.97 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001087/0.002847, allocations: 71.91 kB / 0.6198 GB, free: 11.9 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.319e-05/0.002861, allocations: 0 / 0.6198 GB, free: 11.9 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.869e-05/0.002879, allocations: 11.94 kB / 0.6198 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001283/0.003007, allocations: 87.7 kB / 0.6199 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.983e-06/0.003009, allocations: 0 / 0.6199 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.012e-06/0.00301, allocations: 0 / 0.6199 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.317e-06/0.003014, allocations: 0 / 0.6199 GB, free: 11.8 MB / 0.5886 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.0003124/0.003326, allocations: 270.1 kB / 0.6202 GB, free: 11.51 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.003366, allocations: 13.47 kB / 0.6202 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.952e-05/0.003395, allocations: 30.75 kB / 0.6202 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002733/0.003669, allocations: 56.8 kB / 0.6203 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.159e-05/0.00374, allocations: 105.8 kB / 0.6204 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.931e-05/0.00376, allocations: 4.359 kB / 0.6204 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.153e-05/0.003771, allocations: 8.375 kB / 0.6204 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000134/0.003905, allocations: 79.92 kB / 0.6204 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.003912, allocations: 4.172 kB / 0.6204 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.003923, allocations: 4.375 kB / 0.6204 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.003928, allocations: 8.125 kB / 0.6205 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.272e-05/0.004021, allocations: 35.91 kB / 0.6205 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003079/0.004329, allocations: 231.9 kB / 0.6207 GB, free: 10.85 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 7.925e-05/0.004408, allocations: 38.55 kB / 0.6207 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.437e-05/0.004443, allocations: 24.91 kB / 0.6208 GB, free: 10.78 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.212e-05/0.004455, allocations: 0 / 0.6208 GB, free: 10.78 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.856e-05/0.004473, allocations: 42.5 kB / 0.6208 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 7.21e-07/0.004474, allocations: 3.938 kB / 0.6208 GB, free: 10.72 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0001757/0.00465, allocations: 65.61 kB / 0.6209 GB, free: 10.65 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.687e-05/0.004677, allocations: 55.41 kB / 0.6209 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.677e-05/0.004733, allocations: 105.8 kB / 0.621 GB, free: 10.47 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.003e-05/0.004743, allocations: 25.7 kB / 0.6211 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.614e-05/0.00477, allocations: 80.14 kB / 0.6211 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.823e-05/0.004788, allocations: 19.88 kB / 0.6212 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.436e-05/0.004812, allocations: 9.844 kB / 0.6212 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.924e-05/0.004881, allocations: 318.8 kB / 0.6215 GB, free: 10 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.956e-05/0.004911, allocations: 11.98 kB / 0.6215 GB, free: 9.992 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.487e-05/0.004936, allocations: 11.98 kB / 0.6215 GB, free: 9.98 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.41e-05/0.00499, allocations: 28.78 kB / 0.6215 GB, free: 9.949 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.004991, allocations: 0 / 0.6215 GB, free: 9.949 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.833e-05/0.00507, allocations: 65.58 kB / 0.6216 GB, free: 9.879 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/0.00508, allocations: 12.08 kB / 0.6216 GB, free: 9.867 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.005084, allocations: 0 / 0.6216 GB, free: 9.867 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.005095, allocations: 0 / 0.6216 GB, free: 9.867 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.788e-05/0.005153, allocations: 8 kB / 0.6216 GB, free: 9.859 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.005157, allocations: 0 / 0.6216 GB, free: 9.859 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.278e-05/0.00518, allocations: 3.984 kB / 0.6216 GB, free: 9.855 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-06/0.005186, allocations: 4 kB / 0.6216 GB, free: 9.852 MB / 0.5886 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 4.865e-05/0.005234, allocations: 106.8 kB / 0.6217 GB, free: 9.738 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.264e-05/0.005247, allocations: 3.938 kB / 0.6217 GB, free: 9.734 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.36e-05/0.00527, allocations: 15.62 kB / 0.6217 GB, free: 9.715 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.005272, allocations: 0 / 0.6217 GB, free: 9.715 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.005276, allocations: 0 / 0.6217 GB, free: 9.715 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.005279, allocations: 0 / 0.6217 GB, free: 9.715 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.967e-05/0.005378, allocations: 132.7 kB / 0.6219 GB, free: 9.543 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.21e-07/0.005379, allocations: 0 / 0.6219 GB, free: 9.543 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.545e-05/0.005404, allocations: 11.92 kB / 0.6219 GB, free: 9.531 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.005406, allocations: 3.938 kB / 0.6219 GB, free: 9.527 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.333e-06/0.005414, allocations: 8 kB / 0.6219 GB, free: 9.52 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.01e-07/0.005414, allocations: 0 / 0.6219 GB, free: 9.52 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.71e-07/0.005414, allocations: 0 / 0.6219 GB, free: 9.52 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001032/0.005518, allocations: 155.5 kB / 0.622 GB, free: 9.352 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.121e-05/0.005539, allocations: 7.938 kB / 0.622 GB, free: 9.344 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.048e-05/0.005549, allocations: 4 kB / 0.622 GB, free: 9.34 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.624e-05/0.005586, allocations: 3.984 kB / 0.622 GB, free: 9.336 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.172e-05/0.005597, allocations: 0 / 0.622 GB, free: 9.336 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-06/0.0056, allocations: 4 kB / 0.622 GB, free: 9.332 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.532e-05/0.005626, allocations: 87.56 kB / 0.6221 GB, free: 9.246 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.005626, allocations: 0 / 0.6221 GB, free: 9.246 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001411/0.005767, allocations: 15.94 kB / 0.6221 GB, free: 9.23 MB / 0.5886 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.0002567/0.006024, allocations: 0.685 MB / 0.6228 GB, free: 8.516 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001051/0.006129, allocations: 27.97 kB / 0.6228 GB, free: 8.488 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.00613, allocations: 0 / 0.6228 GB, free: 8.488 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.574e-05/0.006156, allocations: 15.94 kB / 0.6229 GB, free: 8.473 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001968/0.006352, allocations: 8.281 kB / 0.6229 GB, free: 8.469 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003276/0.00668, allocations: 166.7 kB / 0.623 GB, free: 8.266 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.269e-05/0.006723, allocations: 67.34 kB / 0.6231 GB, free: 8.18 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.243e-05/0.006755, allocations: 4 kB / 0.6231 GB, free: 8.176 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.161e-05/0.006787, allocations: 12.48 kB / 0.6231 GB, free: 8.164 MB / 0.5886 GB Notification: Performance of SimCode: time 3.61e-07/0.006787, allocations: 0 / 0.6231 GB, free: 8.164 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01377/0.02056, allocations: 1.877 MB / 0.6249 GB, free: 6.438 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.772/6.793, allocations: 10.95 kB / 0.6249 GB, free: 6.43 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.fmu > IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.514796338044107] Failed to read output from testmodel.py, exit status != 0: 6.870672267861664 6.883128908 6.878096257 Calling exit ...