Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw05.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.0008454/0.0008454, allocations: 80.45 kB / 19.15 MB, free: 0.7734 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.0009867/0.0009867, allocations: 166 kB / 22.43 MB, free: 2.141 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.8696/0.8696, allocations: 177.2 MB / 202.8 MB, free: 5.77 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.6966/0.6966, allocations: 155 MB / 414.2 MB, free: 488 kB / 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.PowerLaw05,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLaw05",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw05,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLaw05",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.0009912/0.0009912, allocations: 71.75 kB / 0.6187 GB, free: 12.2 MB / 0.5417 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4485/0.4495, allocations: 102 MB / 0.7183 GB, free: 13.25 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw05): time 0.001947/0.4515, allocations: 1.299 MB / 0.7195 GB, free: 11.95 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004417/0.4519, allocations: 281.7 kB / 0.7198 GB, free: 11.67 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.241e-05/0.4519, allocations: 0 / 0.7198 GB, free: 11.67 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.09e-05/0.4519, allocations: 3.938 kB / 0.7198 GB, free: 11.67 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001749/0.4521, allocations: 11.92 kB / 0.7198 GB, free: 11.66 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001823/0.4523, allocations: 66.55 kB / 0.7199 GB, free: 11.59 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.419e-05/0.4524, allocations: 47.77 kB / 0.7199 GB, free: 11.55 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.321e-05/0.4524, allocations: 4 kB / 0.7199 GB, free: 11.54 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001235/0.4525, allocations: 35.84 kB / 0.72 GB, free: 11.51 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.936e-05/0.4526, allocations: 15.92 kB / 0.72 GB, free: 11.49 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.177e-05/0.4526, allocations: 0 / 0.72 GB, free: 11.49 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001084/0.4527, allocations: 67.92 kB / 0.72 GB, free: 11.43 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.707e-05/0.4527, allocations: 7.984 kB / 0.7201 GB, free: 11.42 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.273e-05/0.4528, allocations: 11.94 kB / 0.7201 GB, free: 11.41 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001412/0.4529, allocations: 84.55 kB / 0.7201 GB, free: 11.32 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.4529, allocations: 4 kB / 0.7202 GB, free: 11.32 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.533e-06/0.4529, allocations: 0 / 0.7202 GB, free: 11.32 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.722e-06/0.4529, allocations: 4 kB / 0.7202 GB, free: 11.32 MB / 0.6042 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.0003336/0.4532, allocations: 274.1 kB / 0.7204 GB, free: 11.02 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.4533, allocations: 17.41 kB / 0.7204 GB, free: 11 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.758e-05/0.4533, allocations: 34.75 kB / 0.7205 GB, free: 10.96 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002937/0.4536, allocations: 52.8 kB / 0.7205 GB, free: 10.91 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.62e-05/0.4537, allocations: 110.5 kB / 0.7206 GB, free: 10.77 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.498e-05/0.4537, allocations: 4.312 kB / 0.7206 GB, free: 10.77 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.326e-05/0.4537, allocations: 4.375 kB / 0.7206 GB, free: 10.77 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001425/0.4539, allocations: 87.91 kB / 0.7207 GB, free: 10.67 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.4539, allocations: 3.938 kB / 0.7207 GB, free: 10.66 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.4539, allocations: 8 kB / 0.7207 GB, free: 10.66 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.4539, allocations: 0 / 0.7207 GB, free: 10.66 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001037/0.454, allocations: 43.89 kB / 0.7208 GB, free: 10.61 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001359/0.4541, allocations: 140.7 kB / 0.7209 GB, free: 10.43 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002201/0.4544, allocations: 90.61 kB / 0.721 GB, free: 10.34 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.364e-05/0.4544, allocations: 32.83 kB / 0.721 GB, free: 10.3 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.416e-05/0.4544, allocations: 0 / 0.721 GB, free: 10.3 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.087e-05/0.4544, allocations: 30.56 kB / 0.721 GB, free: 10.26 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 8.71e-07/0.4544, allocations: 0 / 0.721 GB, free: 10.26 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0002527/0.4547, allocations: 109.5 kB / 0.7212 GB, free: 10.15 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.468e-05/0.4547, allocations: 51.41 kB / 0.7212 GB, free: 10.09 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.635e-05/0.4548, allocations: 117.8 kB / 0.7213 GB, free: 9.961 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.376e-05/0.4548, allocations: 25.7 kB / 0.7213 GB, free: 9.93 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.358e-05/0.4548, allocations: 80.14 kB / 0.7214 GB, free: 9.848 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.497e-05/0.4549, allocations: 11.84 kB / 0.7214 GB, free: 9.836 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.11e-05/0.4549, allocations: 21.7 kB / 0.7214 GB, free: 9.809 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.92e-05/0.455, allocations: 314.8 kB / 0.7217 GB, free: 9.492 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.654e-05/0.455, allocations: 23.97 kB / 0.7218 GB, free: 9.469 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.559e-05/0.4551, allocations: 19.98 kB / 0.7218 GB, free: 9.449 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001/0.4552, allocations: 52.81 kB / 0.7218 GB, free: 9.395 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.4552, allocations: 0 / 0.7218 GB, free: 9.395 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001298/0.4553, allocations: 77.59 kB / 0.7219 GB, free: 9.312 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.4553, allocations: 11.94 kB / 0.7219 GB, free: 9.301 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.4553, allocations: 0.7031 kB / 0.7219 GB, free: 9.301 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.4553, allocations: 0 / 0.7219 GB, free: 9.301 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.957e-05/0.4554, allocations: 11.98 kB / 0.7219 GB, free: 9.289 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.4554, allocations: 4 kB / 0.7219 GB, free: 9.285 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.757e-05/0.4554, allocations: 11.92 kB / 0.722 GB, free: 9.273 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.094e-06/0.4555, allocations: 3.938 kB / 0.722 GB, free: 9.27 MB / 0.6042 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 6.865e-05/0.4555, allocations: 118.8 kB / 0.7221 GB, free: 9.145 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.072e-05/0.4555, allocations: 15.88 kB / 0.7221 GB, free: 9.129 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.701e-05/0.4556, allocations: 4 kB / 0.7221 GB, free: 9.121 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.4556, allocations: 0 / 0.7221 GB, free: 9.121 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.4556, allocations: 0 / 0.7221 GB, free: 9.121 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.4556, allocations: 0 / 0.7221 GB, free: 9.121 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.823e-05/0.4557, allocations: 140.7 kB / 0.7222 GB, free: 8.941 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.4557, allocations: 4 kB / 0.7222 GB, free: 8.938 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.971e-05/0.4557, allocations: 15.92 kB / 0.7222 GB, free: 8.922 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.4557, allocations: 3.938 kB / 0.7222 GB, free: 8.918 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.348e-06/0.4557, allocations: 0 / 0.7222 GB, free: 8.918 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.4557, allocations: 0 / 0.7222 GB, free: 8.918 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.4557, allocations: 0 / 0.7222 GB, free: 8.918 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001625/0.4559, allocations: 109 kB / 0.7223 GB, free: 8.793 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.462e-05/0.4559, allocations: 7.984 kB / 0.7224 GB, free: 8.785 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.34e-05/0.4559, allocations: 7.938 kB / 0.7224 GB, free: 8.777 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.528e-05/0.456, allocations: 11.98 kB / 0.7224 GB, free: 8.766 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.48e-05/0.456, allocations: 0 / 0.7224 GB, free: 8.766 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-06/0.456, allocations: 4 kB / 0.7224 GB, free: 8.762 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.217e-05/0.456, allocations: 91.27 kB / 0.7225 GB, free: 8.672 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5e-08/0.456, allocations: 0 / 0.7225 GB, free: 8.672 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001269/0.4562, allocations: 8 kB / 0.7225 GB, free: 8.664 MB / 0.6042 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.0003731/0.4565, allocations: 0.6474 MB / 0.7231 GB, free: 7.988 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001535/0.4567, allocations: 47.95 kB / 0.7232 GB, free: 7.941 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.4567, allocations: 0 / 0.7232 GB, free: 7.941 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 4.871e-05/0.4567, allocations: 31.91 kB / 0.7232 GB, free: 7.91 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002054/0.457, allocations: 8.281 kB / 0.7232 GB, free: 7.902 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001086/0.458, allocations: 1.278 MB / 0.7244 GB, free: 6.539 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.421e-05/0.4581, allocations: 63.34 kB / 0.7245 GB, free: 6.457 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 5.578e-05/0.4581, allocations: 4.062 kB / 0.7245 GB, free: 6.453 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.614e-05/0.4582, allocations: 20.48 kB / 0.7245 GB, free: 6.434 MB / 0.6042 GB Notification: Performance of SimCode: time 5.31e-07/0.4582, allocations: 0 / 0.7245 GB, free: 6.434 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01956/0.4777, allocations: 2.267 MB / 0.7267 GB, free: 4.32 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.544/7.022, allocations: 8.562 kB / 0.7267 GB, free: 4.312 MB / 0.6042 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw05.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw05.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw05.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw05.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLaw05_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLaw05.fmu > IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw05.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.596677590161562] Failed to read output from testmodel.py, exit status != 0: 7.100612140027806 7.108602412 6.654016253 Calling exit ...