Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0008694/0.0008694, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001017/0.001017, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8738/0.8738, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.7027/0.7027, allocations: 154.5 MB / 413.7 MB, free: 0.832 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.PowerLaw,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.6181 GB, free: 13.76 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.484e-05/1.634e-05, allocations: 6.281 kB / 0.6181 GB, free: 13.75 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002002/0.002019, allocations: 1.271 MB / 0.6193 GB, free: 12.46 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0002396/0.002258, allocations: 91.69 kB / 0.6194 GB, free: 12.38 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.634e-05/0.002285, allocations: 0 / 0.6194 GB, free: 12.38 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.858e-05/0.002303, allocations: 0 / 0.6194 GB, free: 12.38 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.909e-05/0.002372, allocations: 7.938 kB / 0.6194 GB, free: 12.37 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002136/0.002586, allocations: 27.89 kB / 0.6194 GB, free: 12.34 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 5.866e-05/0.002645, allocations: 23.86 kB / 0.6194 GB, free: 12.32 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.438e-05/0.002689, allocations: 4 kB / 0.6194 GB, free: 12.31 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.511e-05/0.002724, allocations: 4 kB / 0.6194 GB, free: 12.31 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.034e-05/0.002774, allocations: 7.984 kB / 0.6195 GB, free: 12.3 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.285e-05/0.002787, allocations: 0 / 0.6195 GB, free: 12.3 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001171/0.002904, allocations: 35.95 kB / 0.6195 GB, free: 12.27 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.349e-05/0.002918, allocations: 0 / 0.6195 GB, free: 12.27 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.735e-05/0.002935, allocations: 7.938 kB / 0.6195 GB, free: 12.26 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.000115/0.00305, allocations: 43.86 kB / 0.6195 GB, free: 12.21 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.003052, allocations: 0 / 0.6195 GB, free: 12.21 MB / 0.5886 GB Notification: Performance of FrontEnd: time 8.31e-07/0.003053, allocations: 4 kB / 0.6195 GB, free: 12.21 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.987e-06/0.003057, allocations: 4 kB / 0.6195 GB, free: 12.21 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003529/0.00341, allocations: 250.3 kB / 0.6198 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.003451, allocations: 9.469 kB / 0.6198 GB, free: 11.92 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.813e-05/0.003489, allocations: 38.75 kB / 0.6198 GB, free: 11.88 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002431/0.003732, allocations: 20.89 kB / 0.6199 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001086/0.003841, allocations: 113.7 kB / 0.62 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.003856, allocations: 384 / 0.62 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.069e-05/0.003866, allocations: 384 / 0.62 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001229/0.003989, allocations: 50.23 kB / 0.62 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.689e-06/0.003999, allocations: 8.172 kB / 0.62 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.00401, allocations: 384 / 0.62 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.004015, allocations: 4.125 kB / 0.62 GB, free: 11.65 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.718e-05/0.004112, allocations: 23.97 kB / 0.62 GB, free: 11.63 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001515/0.004264, allocations: 128.7 kB / 0.6202 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001226/0.004386, allocations: 46.48 kB / 0.6202 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.178e-05/0.004438, allocations: 12.91 kB / 0.6202 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.334e-05/0.004451, allocations: 11.94 kB / 0.6202 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.859e-05/0.00447, allocations: 34.56 kB / 0.6203 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 7.82e-07/0.004471, allocations: 0 / 0.6203 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0001852/0.004656, allocations: 61.67 kB / 0.6203 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.805e-05/0.004684, allocations: 55.34 kB / 0.6204 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.996e-05/0.004734, allocations: 105.8 kB / 0.6205 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.658e-06/0.004744, allocations: 29.7 kB / 0.6205 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.277e-05/0.004766, allocations: 80.14 kB / 0.6206 GB, free: 10.97 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.315e-05/0.00479, allocations: 12.02 kB / 0.6206 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.835e-05/0.004818, allocations: 17.72 kB / 0.6206 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.143e-05/0.004889, allocations: 310.8 kB / 0.6209 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.348e-05/0.004923, allocations: 15.98 kB / 0.6209 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.774e-05/0.004951, allocations: 11.98 kB / 0.6209 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.215e-05/0.005013, allocations: 24.84 kB / 0.621 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.005014, allocations: 0 / 0.621 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.264e-05/0.005097, allocations: 61.73 kB / 0.621 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.021e-05/0.005107, allocations: 4 kB / 0.621 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.005111, allocations: 0 / 0.621 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.738e-06/0.005121, allocations: 0 / 0.621 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.255e-05/0.005183, allocations: 19.86 kB / 0.621 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.005188, allocations: 0 / 0.621 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.641e-05/0.005215, allocations: 0 / 0.621 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-06/0.005221, allocations: 8 kB / 0.6211 GB, free: 10.47 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.943e-05/0.00527, allocations: 106.8 kB / 0.6212 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.71e-06/0.005276, allocations: 7.984 kB / 0.6212 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.221e-05/0.005298, allocations: 7.312 kB / 0.6212 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.005301, allocations: 3.984 kB / 0.6212 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.005305, allocations: 3.938 kB / 0.6212 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.005308, allocations: 0 / 0.6212 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.628e-05/0.005394, allocations: 120.8 kB / 0.6213 GB, free: 10.17 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.005395, allocations: 0 / 0.6213 GB, free: 10.17 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.162e-05/0.005426, allocations: 11.98 kB / 0.6213 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.005428, allocations: 0 / 0.6213 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.005435, allocations: 0 / 0.6213 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.005436, allocations: 4 kB / 0.6213 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.005438, allocations: 11.88 kB / 0.6213 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001011/0.005539, allocations: 85.05 kB / 0.6214 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.665e-06/0.005546, allocations: 4 kB / 0.6214 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.859e-06/0.005556, allocations: 0 / 0.6214 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.439e-05/0.005581, allocations: 3.984 kB / 0.6214 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.432e-05/0.005595, allocations: 7.938 kB / 0.6214 GB, free: 10.03 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.945e-06/0.005598, allocations: 0 / 0.6214 GB, free: 10.03 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.248e-05/0.00562, allocations: 79.28 kB / 0.6215 GB, free: 9.949 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.00562, allocations: 0 / 0.6215 GB, free: 9.949 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001186/0.005739, allocations: 12.03 kB / 0.6215 GB, free: 9.938 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.0002424/0.005981, allocations: 0.6047 MB / 0.6221 GB, free: 9.305 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001006/0.006082, allocations: 31.91 kB / 0.6221 GB, free: 9.273 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.022e-06/0.006083, allocations: 3.938 kB / 0.6221 GB, free: 9.27 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.874e-05/0.006112, allocations: 15.98 kB / 0.6221 GB, free: 9.254 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001509/0.006263, allocations: 13.97 kB / 0.6222 GB, free: 9.242 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008318/0.007095, allocations: 1.185 MB / 0.6233 GB, free: 7.973 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.409e-05/0.007129, allocations: 59.34 kB / 0.6234 GB, free: 7.895 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.206e-05/0.007171, allocations: 4.109 kB / 0.6234 GB, free: 7.891 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.121e-05/0.007212, allocations: 16.48 kB / 0.6234 GB, free: 7.875 MB / 0.5886 GB Notification: Performance of SimCode: time 5.51e-07/0.007212, allocations: 0 / 0.6234 GB, free: 7.875 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0134/0.02061, allocations: 2.224 MB / 0.6256 GB, free: 5.805 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.803/6.824, allocations: 6.828 kB / 0.6256 GB, free: 5.801 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLaw.fmu > IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.606305721215904] Failed to read output from testmodel.py, exit status != 0: 6.902882324531674 6.912791403 6.907514893 Calling exit ...