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.0007652/0.0007652, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.0008536/0.0008536, allocations: 213.9 kB / 22.25 MB, free: 3.578 MB / 13.93 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.9032/0.9032, allocations: 230.6 MB / 256 MB, free: 9.578 MB / 202.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.7583/0.7583, allocations: 203.8 MB / 0.5042 GB, free: 10.43 MB / 410.7 MB " [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: 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.0009678/0.0009678, allocations: 68.5 kB / 0.7182 GB, free: 4.043 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.501/0.502, allocations: 102 MB / 0.8178 GB, free: 1.043 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.001656/0.5036, allocations: 1.288 MB / 0.8191 GB, free: 148 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002405/0.5039, allocations: 91.84 kB / 0.8191 GB, free: 88 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.556e-05/0.5039, allocations: 1.562 kB / 0.8191 GB, free: 88 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.732e-05/0.5039, allocations: 0 / 0.8191 GB, free: 88 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.323e-05/0.504, allocations: 4.828 kB / 0.8191 GB, free: 84 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001918/0.5042, allocations: 30.7 kB / 0.8192 GB, free: 72 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.556e-05/0.5042, allocations: 16.16 kB / 0.8192 GB, free: 64 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.642e-05/0.5043, allocations: 3.453 kB / 0.8192 GB, free: 64 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.147e-05/0.5043, allocations: 6.953 kB / 0.8192 GB, free: 60 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.017e-05/0.5043, allocations: 8.375 kB / 0.8192 GB, free: 56 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.046e-05/0.5043, allocations: 0 / 0.8192 GB, free: 56 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001046/0.5044, allocations: 38.7 kB / 0.8192 GB, free: 52 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.307e-05/0.5045, allocations: 4.562 kB / 0.8193 GB, free: 48 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.98e-05/0.5045, allocations: 3.719 kB / 0.8193 GB, free: 48 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001038/0.5046, allocations: 36.5 kB / 0.8193 GB, free: 36 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.5046, allocations: 0 / 0.8193 GB, free: 36 kB / 0.6042 GB Notification: Performance of FrontEnd: time 1.934e-06/0.5046, allocations: 0 / 0.8193 GB, free: 36 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.5046, allocations: 0 / 0.8193 GB, free: 36 kB / 0.6042 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.0003305/0.5049, allocations: 258.9 kB / 0.8195 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.505, allocations: 11.47 kB / 0.8195 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.925e-05/0.505, allocations: 39.3 kB / 0.8196 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002074/0.5052, allocations: 23.45 kB / 0.8196 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.536e-05/0.5053, allocations: 103.9 kB / 0.8197 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.5053, allocations: 4.094 kB / 0.8197 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.315e-06/0.5053, allocations: 384 / 0.8197 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001037/0.5054, allocations: 46.19 kB / 0.8198 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.353e-06/0.5054, allocations: 7.938 kB / 0.8198 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.025e-06/0.5054, allocations: 1.781 kB / 0.8198 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.5054, allocations: 4.891 kB / 0.8198 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.092e-05/0.5055, allocations: 20.69 kB / 0.8198 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003698/0.5059, allocations: 131.3 kB / 0.8199 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.764e-05/0.506, allocations: 51.62 kB / 0.82 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.547e-05/0.506, allocations: 16 kB / 0.82 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.281e-05/0.506, allocations: 4 kB / 0.82 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.123e-05/0.506, allocations: 36.73 kB / 0.82 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 8.51e-07/0.506, allocations: 0 / 0.82 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0001937/0.5062, allocations: 71.22 kB / 0.8201 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.868e-05/0.5063, allocations: 58.66 kB / 0.8201 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.647e-05/0.5063, allocations: 99.36 kB / 0.8202 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.121e-05/0.5063, allocations: 26.45 kB / 0.8203 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.04e-05/0.5063, allocations: 80.14 kB / 0.8203 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.244e-05/0.5064, allocations: 6.766 kB / 0.8203 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.741e-05/0.5064, allocations: 21.08 kB / 0.8204 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.986e-05/0.5065, allocations: 312.1 kB / 0.8207 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.111e-05/0.5065, allocations: 9.266 kB / 0.8207 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.216e-05/0.5065, allocations: 15.86 kB / 0.8207 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.838e-05/0.5066, allocations: 28.2 kB / 0.8207 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.5066, allocations: 0 / 0.8207 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.912e-05/0.5067, allocations: 62.66 kB / 0.8208 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.5067, allocations: 10.59 kB / 0.8208 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.5067, allocations: 0 / 0.8208 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.5067, allocations: 0.6094 kB / 0.8208 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.987e-05/0.5068, allocations: 6.891 kB / 0.8208 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.5068, allocations: 0 / 0.8208 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.961e-05/0.5068, allocations: 3.453 kB / 0.8208 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.112e-06/0.5068, allocations: 2.5 kB / 0.8208 GB, free: 14.56 MB / 0.6198 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 5.237e-05/0.5069, allocations: 112.1 kB / 0.8209 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.221e-06/0.5069, allocations: 5.469 kB / 0.8209 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.543e-05/0.5069, allocations: 16.03 kB / 0.8209 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.5069, allocations: 1.969 kB / 0.8209 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.5069, allocations: 0.6562 kB / 0.8209 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.5069, allocations: 0 / 0.8209 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.241e-05/0.507, allocations: 124.6 kB / 0.821 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.507, allocations: 0.7031 kB / 0.821 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.632e-05/0.5071, allocations: 6.328 kB / 0.8211 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.796e-06/0.5071, allocations: 6.781 kB / 0.8211 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.194e-06/0.5071, allocations: 0.5625 kB / 0.8211 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.42e-07/0.5071, allocations: 0 / 0.8211 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.5071, allocations: 4.609 kB / 0.8211 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001109/0.5072, allocations: 91.91 kB / 0.8212 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.245e-06/0.5072, allocations: 2.062 kB / 0.8212 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.311e-05/0.5072, allocations: 5.844 kB / 0.8212 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.65e-05/0.5072, allocations: 4.469 kB / 0.8212 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.292e-05/0.5072, allocations: 8.547 kB / 0.8212 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.529e-06/0.5072, allocations: 2.75 kB / 0.8212 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.259e-05/0.5073, allocations: 79.12 kB / 0.8213 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.1e-08/0.5073, allocations: 0 / 0.8213 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001232/0.5074, allocations: 12.88 kB / 0.8213 GB, free: 14.09 MB / 0.6198 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.0002641/0.5076, allocations: 0.6172 MB / 0.8219 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001144/0.5078, allocations: 25.92 kB / 0.8219 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.5078, allocations: 0 / 0.8219 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.178e-05/0.5078, allocations: 13.17 kB / 0.8219 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00019/0.508, allocations: 13.61 kB / 0.8219 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009055/0.5089, allocations: 1.179 MB / 0.8231 GB, free: 12.35 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.447e-05/0.5089, allocations: 58.08 kB / 0.8231 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.58e-05/0.509, allocations: 5.219 kB / 0.8231 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.823e-05/0.509, allocations: 10.28 kB / 0.8231 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of SimCode: time 3.91e-07/0.509, allocations: 0 / 0.8231 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01672/0.5257, allocations: 2.103 MB / 0.8252 GB, free: 11.4 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.435/6.96, allocations: 3.25 kB / 0.8252 GB, free: 11.4 MB / 0.6198 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.67475026100874] Failed to read output from testmodel.py, exit status != 0: 7.03670352185145 7.046719985 6.540277387 Calling exit ...