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.0008338/0.0008338, 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.0008274/0.0008274, 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.8707/0.8707, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7205/0.7205, allocations: 154.6 MB / 413.8 MB, free: 0.8125 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.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: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 0.6181 GB, free: 13.65 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.101e-05/2.277e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.65 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.001705/0.001728, allocations: 1.311 MB / 0.6194 GB, free: 12.33 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0004295/0.002158, allocations: 271 kB / 0.6196 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.158e-05/0.002189, allocations: 0 / 0.6196 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.066e-05/0.00221, allocations: 3.984 kB / 0.6196 GB, free: 12.06 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001032/0.002313, allocations: 11.86 kB / 0.6197 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002905/0.002604, allocations: 79.72 kB / 0.6197 GB, free: 11.97 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.223e-05/0.002676, allocations: 35.84 kB / 0.6198 GB, free: 11.94 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.14e-05/0.002717, allocations: 4 kB / 0.6198 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001146/0.002832, allocations: 35.91 kB / 0.6198 GB, free: 11.9 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.485e-05/0.002877, allocations: 7.984 kB / 0.6198 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.483e-05/0.002891, allocations: 4 kB / 0.6198 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001316/0.003023, allocations: 83.89 kB / 0.6199 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.414e-05/0.003037, allocations: 0 / 0.6199 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.029e-05/0.003057, allocations: 7.938 kB / 0.6199 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001446/0.003202, allocations: 91.75 kB / 0.62 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.003205, allocations: 0 / 0.62 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.473e-06/0.003206, allocations: 0 / 0.62 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.937e-06/0.00321, allocations: 0 / 0.62 GB, free: 11.71 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.0003241/0.003534, allocations: 278.1 kB / 0.6203 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.003572, allocations: 8.031 kB / 0.6203 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.918e-05/0.003601, allocations: 42.69 kB / 0.6203 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.45e-05/0.003625, allocations: 8.891 kB / 0.6203 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.538e-05/0.003701, allocations: 113.7 kB / 0.6204 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.588e-06/0.00371, allocations: 384 / 0.6204 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.033e-06/0.003717, allocations: 384 / 0.6204 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001002/0.003818, allocations: 67.95 kB / 0.6205 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.682e-06/0.003824, allocations: 4.125 kB / 0.6205 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.003833, allocations: 384 / 0.6205 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.044e-06/0.00384, allocations: 8.062 kB / 0.6205 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.227e-05/0.003872, allocations: 8 kB / 0.6205 GB, free: 11.1 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001289/0.004001, allocations: 136.8 kB / 0.6206 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 7.933e-05/0.004081, allocations: 38.5 kB / 0.6207 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.849e-05/0.004099, allocations: 12.92 kB / 0.6207 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004171/0.004516, allocations: 135.9 kB / 0.6208 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.135e-05/0.004537, allocations: 30.56 kB / 0.6208 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.004538, allocations: 4 kB / 0.6208 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0001389/0.004677, allocations: 57.62 kB / 0.6209 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.703e-05/0.004704, allocations: 55.34 kB / 0.621 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.5e-05/0.004759, allocations: 109.8 kB / 0.6211 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.121e-05/0.004771, allocations: 29.7 kB / 0.6211 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.424e-05/0.004795, allocations: 80.14 kB / 0.6212 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.054e-05/0.004815, allocations: 3.953 kB / 0.6212 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.611e-05/0.004841, allocations: 21.67 kB / 0.6212 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.5e-05/0.004916, allocations: 314.8 kB / 0.6215 GB, free: 9.977 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.266e-05/0.004929, allocations: 4 kB / 0.6215 GB, free: 9.973 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.059e-05/0.00494, allocations: 12.19 kB / 0.6215 GB, free: 9.961 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.986e-05/0.00497, allocations: 16.94 kB / 0.6215 GB, free: 9.941 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.004971, allocations: 0 / 0.6215 GB, free: 9.941 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.053e-05/0.005022, allocations: 49.62 kB / 0.6216 GB, free: 9.887 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.005033, allocations: 4 kB / 0.6216 GB, free: 9.883 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.005038, allocations: 0 / 0.6216 GB, free: 9.883 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.005051, allocations: 4 kB / 0.6216 GB, free: 9.879 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.66e-05/0.005098, allocations: 7.938 kB / 0.6216 GB, free: 9.871 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.005103, allocations: 0 / 0.6216 GB, free: 9.871 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.214e-05/0.005115, allocations: 3.984 kB / 0.6216 GB, free: 9.867 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.1e-06/0.00512, allocations: 4 kB / 0.6216 GB, free: 9.863 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 (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 5.65e-05/0.005177, allocations: 114.8 kB / 0.6217 GB, free: 9.742 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.502e-06/0.005183, allocations: 3.953 kB / 0.6217 GB, free: 9.738 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.633e-05/0.005279, allocations: 57.69 kB / 0.6218 GB, free: 9.672 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.005282, allocations: 0 / 0.6218 GB, free: 9.672 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.005287, allocations: 7.875 kB / 0.6218 GB, free: 9.664 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.00529, allocations: 0 / 0.6218 GB, free: 9.664 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.004e-05/0.00537, allocations: 136.6 kB / 0.6219 GB, free: 9.488 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.005372, allocations: 4 kB / 0.6219 GB, free: 9.484 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.109e-05/0.005393, allocations: 8 kB / 0.6219 GB, free: 9.477 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/0.005398, allocations: 7.984 kB / 0.6219 GB, free: 9.469 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.612e-06/0.005405, allocations: 0 / 0.6219 GB, free: 9.469 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.005406, allocations: 0 / 0.6219 GB, free: 9.469 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.005408, allocations: 3.938 kB / 0.6219 GB, free: 9.465 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.73e-05/0.005476, allocations: 69.12 kB / 0.622 GB, free: 9.379 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.019e-05/0.005506, allocations: 11.89 kB / 0.622 GB, free: 9.367 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.127e-06/0.005515, allocations: 0 / 0.622 GB, free: 9.367 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.681e-05/0.005542, allocations: 4 kB / 0.622 GB, free: 9.363 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.507e-05/0.005557, allocations: 7.922 kB / 0.622 GB, free: 9.355 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.651e-06/0.005562, allocations: 8 kB / 0.622 GB, free: 9.348 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.892e-05/0.005591, allocations: 79.28 kB / 0.6221 GB, free: 9.27 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.005591, allocations: 0 / 0.6221 GB, free: 9.27 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001669/0.005758, allocations: 31.92 kB / 0.6221 GB, free: 9.238 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 (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.0003542/0.006113, allocations: 0.6357 MB / 0.6227 GB, free: 8.57 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 8.394e-05/0.006196, allocations: 15.98 kB / 0.6228 GB, free: 8.555 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.006199, allocations: 0 / 0.6228 GB, free: 8.555 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 1.224e-05/0.006211, allocations: 11.94 kB / 0.6228 GB, free: 8.543 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002208/0.006432, allocations: 10 kB / 0.6228 GB, free: 8.535 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003497/0.006781, allocations: 162.8 kB / 0.6229 GB, free: 8.336 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.074e-05/0.006822, allocations: 63.34 kB / 0.623 GB, free: 8.254 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.22e-05/0.006854, allocations: 4.547 kB / 0.623 GB, free: 8.25 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.373e-05/0.006888, allocations: 20.48 kB / 0.623 GB, free: 8.23 MB / 0.5886 GB Notification: Performance of SimCode: time 7.01e-07/0.006889, allocations: 0 / 0.623 GB, free: 8.23 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01968/0.02657, allocations: 2.273 MB / 0.6252 GB, free: 6.105 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.091/7.118, allocations: 19.58 kB / 0.6253 GB, free: 6.09 MB / 0.5886 GB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file IDEAS_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_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: 9.854614444077015] Failed to read output from testmodel.py, exit status != 0: 7.197496376000345 7.208455463 7.203277679 Calling exit ...