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.0008078/0.0008078, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.0009753/0.0009753, allocations: 213.8 kB / 22.26 MB, free: 3.703 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.9387/0.9387, allocations: 230.6 MB / 256 MB, free: 9.824 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.7932/0.7932, allocations: 203.8 MB / 0.5042 GB, free: 10.71 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.0008955/0.0008955, allocations: 71.77 kB / 0.7182 GB, free: 4.355 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5001/0.501, allocations: 102 MB / 0.8179 GB, free: 1.254 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.001661/0.5027, allocations: 1.291 MB / 0.8191 GB, free: 360 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002376/0.5029, allocations: 98.95 kB / 0.8192 GB, free: 292 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.457e-05/0.5029, allocations: 3.219 kB / 0.8192 GB, free: 292 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.716e-05/0.5029, allocations: 4.703 kB / 0.8192 GB, free: 288 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.805e-05/0.503, allocations: 8.438 kB / 0.8192 GB, free: 280 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001969/0.5032, allocations: 29.73 kB / 0.8193 GB, free: 268 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.977e-05/0.5033, allocations: 11.34 kB / 0.8193 GB, free: 264 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.207e-05/0.5033, allocations: 2.391 kB / 0.8193 GB, free: 264 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.252e-05/0.5033, allocations: 4.281 kB / 0.8193 GB, free: 264 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.307e-05/0.5034, allocations: 13.48 kB / 0.8193 GB, free: 256 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.209e-05/0.5034, allocations: 0 / 0.8193 GB, free: 256 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001137/0.5035, allocations: 48.45 kB / 0.8193 GB, free: 244 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.025e-05/0.5035, allocations: 0.7031 kB / 0.8193 GB, free: 244 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.461e-05/0.5036, allocations: 4.594 kB / 0.8193 GB, free: 240 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001087/0.5037, allocations: 40.36 kB / 0.8194 GB, free: 228 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.5037, allocations: 0 / 0.8194 GB, free: 228 kB / 0.6042 GB Notification: Performance of FrontEnd: time 1.203e-06/0.5037, allocations: 0 / 0.8194 GB, free: 228 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.5037, allocations: 0 / 0.8194 GB, free: 228 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.0003131/0.504, allocations: 258.4 kB / 0.8196 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.504, allocations: 6.656 kB / 0.8196 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.909e-05/0.5041, allocations: 36.95 kB / 0.8197 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002089/0.5043, allocations: 24.2 kB / 0.8197 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.457e-05/0.5044, allocations: 106.4 kB / 0.8198 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.5044, allocations: 4.375 kB / 0.8198 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.194e-05/0.5044, allocations: 4.359 kB / 0.8198 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001049/0.5045, allocations: 47.88 kB / 0.8199 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.5045, allocations: 3.938 kB / 0.8199 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.5045, allocations: 1.406 kB / 0.8199 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.5045, allocations: 4 kB / 0.8199 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.613e-05/0.5046, allocations: 29.55 kB / 0.8199 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001331/0.5047, allocations: 131 kB / 0.82 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.884e-05/0.5048, allocations: 43.75 kB / 0.8201 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.065e-05/0.5049, allocations: 19.58 kB / 0.8201 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.443e-05/0.5049, allocations: 4 kB / 0.8201 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.91e-05/0.5049, allocations: 38.5 kB / 0.8201 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.5049, allocations: 0 / 0.8201 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0002056/0.5051, allocations: 73.52 kB / 0.8202 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.169e-05/0.5051, allocations: 52.3 kB / 0.8202 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.664e-05/0.5052, allocations: 99.27 kB / 0.8203 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.129e-05/0.5052, allocations: 29.83 kB / 0.8204 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.537e-05/0.5052, allocations: 85.89 kB / 0.8204 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.211e-05/0.5052, allocations: 4.75 kB / 0.8204 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.747e-05/0.5053, allocations: 12.73 kB / 0.8205 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.13e-05/0.5054, allocations: 313.8 kB / 0.8208 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.976e-05/0.5054, allocations: 15.27 kB / 0.8208 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.891e-05/0.5054, allocations: 8.078 kB / 0.8208 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.192e-05/0.5055, allocations: 40.06 kB / 0.8208 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.5055, allocations: 3.938 kB / 0.8208 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.789e-05/0.5056, allocations: 52.28 kB / 0.8209 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.5056, allocations: 11.91 kB / 0.8209 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.5056, allocations: 0.75 kB / 0.8209 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.5056, allocations: 0 / 0.8209 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.633e-05/0.5057, allocations: 6.406 kB / 0.8209 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.5057, allocations: 6.75 kB / 0.8209 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.889e-05/0.5057, allocations: 1.938 kB / 0.8209 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.5058, allocations: 3.5 kB / 0.8209 GB, free: 14.74 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.855e-05/0.5058, allocations: 106.5 kB / 0.821 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.973e-06/0.5058, allocations: 5.656 kB / 0.821 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.614e-05/0.5058, allocations: 11.83 kB / 0.821 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.5058, allocations: 0.7031 kB / 0.821 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.5058, allocations: 0.7188 kB / 0.821 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.5059, allocations: 0 / 0.821 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.305e-05/0.5059, allocations: 132.1 kB / 0.8211 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.5059, allocations: 0.7812 kB / 0.8211 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.4e-05/0.506, allocations: 6.391 kB / 0.8212 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.506, allocations: 9.453 kB / 0.8212 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.506, allocations: 1.156 kB / 0.8212 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.506, allocations: 7.922 kB / 0.8212 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.506, allocations: 0.5625 kB / 0.8212 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001133/0.5061, allocations: 84.28 kB / 0.8213 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.526e-06/0.5061, allocations: 3.312 kB / 0.8213 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.352e-05/0.5061, allocations: 8.594 kB / 0.8213 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.489e-05/0.5061, allocations: 5.188 kB / 0.8213 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.615e-05/0.5062, allocations: 4.969 kB / 0.8213 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-06/0.5062, allocations: 0.5625 kB / 0.8213 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.848e-05/0.5062, allocations: 80.73 kB / 0.8213 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5062, allocations: 0 / 0.8213 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001228/0.5063, allocations: 5.156 kB / 0.8214 GB, free: 14.28 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.0003049/0.5066, allocations: 0.6205 MB / 0.822 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001259/0.5068, allocations: 28.89 kB / 0.822 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.5068, allocations: 4.094 kB / 0.822 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.223e-05/0.5068, allocations: 15.5 kB / 0.822 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001796/0.507, allocations: 12.55 kB / 0.822 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009791/0.5079, allocations: 1.179 MB / 0.8232 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001857/0.5081, allocations: 0.6737 MB / 0.8238 GB, free: 11.83 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.776e-05/0.5082, allocations: 7.125 kB / 0.8238 GB, free: 11.83 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.314e-05/0.5082, allocations: 15.44 kB / 0.8238 GB, free: 11.81 MB / 0.6198 GB Notification: Performance of SimCode: time 5.41e-07/0.5082, allocations: 0 / 0.8238 GB, free: 11.81 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01946/0.5277, allocations: 1.569 MB / 0.8254 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.748/7.276, allocations: 8.516 kB / 0.8254 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: 10.134372965898365] Failed to read output from testmodel.py, exit status != 0: 7.351035814033821 7.363394314 6.857473146 Calling exit ...