Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001692/0.001692, allocations: 118.6 kB / 17.16 MB, free: 5.914 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.001902/0.001902, allocations: 206.2 kB / 20.13 MB, free: 2.969 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.489/1.489, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002393/0.002393, allocations: 280.6 kB / 309.8 MB, free: 3.508 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.102/1.102, allocations: 180.6 MB / 0.5338 GB, free: 12.39 MB / 398.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002879/0.002879, allocations: 99.84 kB / 0.7347 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5305/0.5333, allocations: 95.34 MB / 0.8278 GB, free: 3.035 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002414/0.5358, allocations: 1.286 MB / 0.829 GB, free: 2.129 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0002958/0.5361, allocations: 132 kB / 0.8292 GB, free: 2.043 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.129e-05/0.5361, allocations: 0 / 0.8292 GB, free: 2.043 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.362e-05/0.5361, allocations: 3.938 kB / 0.8292 GB, free: 2.039 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 7.196e-05/0.5362, allocations: 0.75 kB / 0.8292 GB, free: 2.039 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002393/0.5364, allocations: 42.19 kB / 0.8292 GB, free: 2.023 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 5.729e-05/0.5365, allocations: 15.53 kB / 0.8292 GB, free: 2.016 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.137e-05/0.5365, allocations: 7.406 kB / 0.8292 GB, free: 2.012 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.404e-05/0.5365, allocations: 7.328 kB / 0.8292 GB, free: 2.008 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.326e-05/0.5366, allocations: 7.969 kB / 0.8292 GB, free: 2.004 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.324e-05/0.5366, allocations: 2.625 kB / 0.8292 GB, free: 2.004 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001366/0.5368, allocations: 49.95 kB / 0.8293 GB, free: 1.992 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.252e-05/0.5368, allocations: 1.188 kB / 0.8293 GB, free: 1.992 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.62e-05/0.5368, allocations: 8.266 kB / 0.8293 GB, free: 1.988 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000124/0.5369, allocations: 41.5 kB / 0.8293 GB, free: 1.98 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.5369, allocations: 4 kB / 0.8293 GB, free: 1.977 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.803e-06/0.5369, allocations: 0 / 0.8293 GB, free: 1.977 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.5369, allocations: 0 / 0.8293 GB, free: 1.977 MB / 0.5762 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.0003474/0.5373, allocations: 330.2 kB / 0.8297 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.5373, allocations: 7.875 kB / 0.8297 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.696e-05/0.5373, allocations: 2.812 kB / 0.8297 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.106e-05/0.5374, allocations: 31.45 kB / 0.8297 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.278e-05/0.5374, allocations: 0.9375 kB / 0.8297 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.242e-05/0.5375, allocations: 168.3 kB / 0.8299 GB, free: 1.383 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.5375, allocations: 9.016 kB / 0.8299 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.644e-06/0.5375, allocations: 3.938 kB / 0.8299 GB, free: 1.371 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.312e-05/0.5376, allocations: 38.78 kB / 0.8299 GB, free: 1.332 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.5376, allocations: 4 kB / 0.8299 GB, free: 1.328 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.338e-06/0.5376, allocations: 3.328 kB / 0.8299 GB, free: 1.328 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.5376, allocations: 0 / 0.8299 GB, free: 1.328 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.385e-05/0.5376, allocations: 3.375 kB / 0.8299 GB, free: 1.328 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000122/0.5377, allocations: 152.5 kB / 0.8301 GB, free: 1.137 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 4.712e-05/0.5378, allocations: 26.92 kB / 0.8301 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.066e-05/0.5378, allocations: 12.17 kB / 0.8301 GB, free: 1.094 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005727/0.5384, allocations: 0.6024 MB / 0.8307 GB, free: 444 kB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.007e-05/0.5384, allocations: 35.16 kB / 0.8307 GB, free: 400 kB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.573e-06/0.5384, allocations: 0 / 0.8307 GB, free: 400 kB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0001483/0.5385, allocations: 42.39 kB / 0.8308 GB, free: 364 kB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.261e-05/0.5386, allocations: 55.41 kB / 0.8308 GB, free: 296 kB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.153e-05/0.5386, allocations: 96.94 kB / 0.8309 GB, free: 196 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.141e-06/0.5386, allocations: 25.7 kB / 0.8309 GB, free: 164 kB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 1.505e-05/0.5386, allocations: 88.69 kB / 0.831 GB, free: 72 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.327e-05/0.5387, allocations: 11.12 kB / 0.831 GB, free: 64 kB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.522e-05/0.5387, allocations: 13 kB / 0.831 GB, free: 48 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.5388, allocations: 316.2 kB / 0.8313 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.323e-05/0.5389, allocations: 7.25 kB / 0.8313 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.211e-05/0.5389, allocations: 8.391 kB / 0.8314 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.084e-05/0.5389, allocations: 7.484 kB / 0.8314 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.5389, allocations: 0.5156 kB / 0.8314 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.809e-05/0.539, allocations: 45.5 kB / 0.8314 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.539, allocations: 6.047 kB / 0.8314 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.539, allocations: 0 / 0.8314 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.539, allocations: 0 / 0.8314 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.527e-05/0.5391, allocations: 4.953 kB / 0.8314 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.698e-06/0.5391, allocations: 4.094 kB / 0.8314 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.104e-05/0.5391, allocations: 4 kB / 0.8314 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.188e-06/0.5391, allocations: 0.6094 kB / 0.8314 GB, free: 15.67 MB / 0.5919 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 8.241e-05/0.5392, allocations: 116.6 kB / 0.8315 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.193e-06/0.5392, allocations: 3.938 kB / 0.8315 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.815e-05/0.5393, allocations: 50.41 kB / 0.8316 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-06/0.5393, allocations: 0.75 kB / 0.8316 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.5393, allocations: 0 / 0.8316 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.5393, allocations: 4.031 kB / 0.8316 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001277/0.5394, allocations: 159.4 kB / 0.8317 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.5394, allocations: 0 / 0.8317 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.166e-05/0.5394, allocations: 6.078 kB / 0.8317 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.5394, allocations: 0 / 0.8317 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-06/0.5394, allocations: 0.7969 kB / 0.8318 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.5394, allocations: 0 / 0.8318 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.5394, allocations: 0 / 0.8318 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.834e-05/0.5395, allocations: 78.22 kB / 0.8318 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 4.357e-05/0.5396, allocations: 77.81 kB / 0.8319 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.201e-05/0.5396, allocations: 3.234 kB / 0.8319 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.836e-05/0.5396, allocations: 4 kB / 0.8319 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.45e-05/0.5396, allocations: 4.656 kB / 0.8319 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.035e-06/0.5396, allocations: 2.625 kB / 0.8319 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.169e-05/0.5397, allocations: 79.22 kB / 0.832 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.5397, allocations: 0 / 0.832 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0001967/0.5399, allocations: 15.19 kB / 0.832 GB, free: 15.04 MB / 0.5919 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.0004508/0.5403, allocations: 0.6171 MB / 0.8326 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 8.558e-05/0.5404, allocations: 12.47 kB / 0.8326 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.5404, allocations: 3.938 kB / 0.8326 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.119e-05/0.5404, allocations: 4.641 kB / 0.8326 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002388/0.5406, allocations: 9.906 kB / 0.8326 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009926/0.5416, allocations: 1.094 MB / 0.8337 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003599/0.542, allocations: 0.6753 MB / 0.8344 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 2.63e-05/0.542, allocations: 2.781 kB / 0.8344 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.105e-05/0.5421, allocations: 8.234 kB / 0.8344 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of SimCode: time 2.91e-07/0.5421, allocations: 0 / 0.8344 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0172/0.5593, allocations: 1.506 MB / 0.8358 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.969/8.528, allocations: 9.109 kB / 0.8359 GB, free: 12.25 MB / 0.5919 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_PowerLaw.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.49933736299863] Failed to read output from testmodel.py, exit status != 0: 8.656423468957655 8.672975442 8.133183872 Calling exit ...