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/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7665/0.7665, allocations: 141.8 MB / 149.3 MB, free: 4.211 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001335/0.001335, allocations: 183.4 kB / 182.2 MB, free: 124 kB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.327/1.327, allocations: 221.5 MB / 436.4 MB, free: 9.184 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009724/0.0009724, allocations: 90.28 kB / 0.5074 GB, free: 24.32 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001802/0.001802, allocations: 274 kB / 0.5889 GB, free: 12.16 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 2.083e-05/2.084e-05, allocations: 4 kB / 0.6766 GB, free: 2.207 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3873/0.3873, allocations: 82.76 MB / 0.7575 GB, free: 112.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1126/0.5, allocations: 107.7 MB / 0.8626 GB, free: 4.875 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002328/0.5003, allocations: 75.94 kB / 0.8627 GB, free: 4.801 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.00208/0.5024, allocations: 0.8533 MB / 0.8635 GB, free: 3.961 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.553e-06/0.5024, allocations: 0 / 0.8635 GB, free: 3.961 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.5024, allocations: 0 / 0.8635 GB, free: 3.961 MB / 0.5261 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.0001742/0.5026, allocations: 327.4 kB / 0.8638 GB, free: 3.602 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.5026, allocations: 8.031 kB / 0.8638 GB, free: 3.594 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.326e-05/0.5027, allocations: 0 / 0.8638 GB, free: 3.594 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.559e-05/0.5028, allocations: 163.1 kB / 0.864 GB, free: 3.395 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.5028, allocations: 3.953 kB / 0.864 GB, free: 3.391 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.773e-06/0.5028, allocations: 3.938 kB / 0.864 GB, free: 3.387 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.945e-05/0.5028, allocations: 13.8 kB / 0.864 GB, free: 3.375 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.452e-05/0.5029, allocations: 29.7 kB / 0.864 GB, free: 3.34 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.091e-06/0.5029, allocations: 0 / 0.864 GB, free: 3.34 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.903e-06/0.5029, allocations: 3.984 kB / 0.864 GB, free: 3.336 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.5029, allocations: 0.9375 kB / 0.864 GB, free: 3.336 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.149e-05/0.503, allocations: 130.3 kB / 0.8642 GB, free: 3.172 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 3.544e-05/0.5031, allocations: 23.48 kB / 0.8642 GB, free: 3.141 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.39e-05/0.5031, allocations: 5.578 kB / 0.8642 GB, free: 3.133 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004657/0.5036, allocations: 0.6018 MB / 0.8648 GB, free: 2.406 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.833e-05/0.5036, allocations: 44.86 kB / 0.8648 GB, free: 2.355 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/0.5036, allocations: 0 / 0.8648 GB, free: 2.355 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0001256/0.5037, allocations: 37.61 kB / 0.8648 GB, free: 2.312 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.277e-05/0.5037, allocations: 51.41 kB / 0.8649 GB, free: 2.25 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.759e-05/0.5038, allocations: 89.81 kB / 0.865 GB, free: 2.156 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.242e-06/0.5038, allocations: 26.33 kB / 0.865 GB, free: 2.125 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 1.801e-05/0.5038, allocations: 88.12 kB / 0.8651 GB, free: 2.035 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.677e-05/0.5038, allocations: 8.969 kB / 0.8651 GB, free: 2.027 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.344e-06/0.5039, allocations: 0 / 0.8651 GB, free: 2.027 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 3.83e-05/0.5039, allocations: 311.8 kB / 0.8654 GB, free: 1.715 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.375e-06/0.5039, allocations: 0 / 0.8654 GB, free: 1.715 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.132e-06/0.5039, allocations: 4.906 kB / 0.8654 GB, free: 1.711 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.299e-05/0.504, allocations: 8.938 kB / 0.8654 GB, free: 1.703 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.504, allocations: 1.125 kB / 0.8654 GB, free: 1.703 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.609e-05/0.504, allocations: 50.06 kB / 0.8655 GB, free: 1.648 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.5041, allocations: 5.562 kB / 0.8655 GB, free: 1.645 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.5041, allocations: 0.8125 kB / 0.8655 GB, free: 1.645 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.5041, allocations: 3.953 kB / 0.8655 GB, free: 1.641 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.431e-05/0.5041, allocations: 7.312 kB / 0.8655 GB, free: 1.637 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.5041, allocations: 0 / 0.8655 GB, free: 1.637 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.727e-05/0.5042, allocations: 0 / 0.8655 GB, free: 1.637 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-06/0.5042, allocations: 4 kB / 0.8655 GB, free: 1.633 MB / 0.5261 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.255e-05/0.5042, allocations: 101 kB / 0.8656 GB, free: 1.527 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 5.787e-05/0.5043, allocations: 37.69 kB / 0.8656 GB, free: 1.484 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.252e-06/0.5043, allocations: 3.953 kB / 0.8656 GB, free: 1.48 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.933e-05/0.5044, allocations: 53.97 kB / 0.8657 GB, free: 1.426 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.5044, allocations: 4 kB / 0.8657 GB, free: 1.422 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.5044, allocations: 0 / 0.8657 GB, free: 1.422 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.033e-06/0.5044, allocations: 0 / 0.8657 GB, free: 1.422 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.257e-05/0.5045, allocations: 126.2 kB / 0.8658 GB, free: 1.262 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.5045, allocations: 0 / 0.8658 GB, free: 1.262 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.32e-05/0.5045, allocations: 11.98 kB / 0.8658 GB, free: 1.25 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.5045, allocations: 4.188 kB / 0.8658 GB, free: 1.246 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.42e-06/0.5045, allocations: 4 kB / 0.8658 GB, free: 1.242 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.5045, allocations: 3.953 kB / 0.8658 GB, free: 1.238 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.5045, allocations: 0 / 0.8658 GB, free: 1.238 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.828e-05/0.5046, allocations: 57.08 kB / 0.8659 GB, free: 1.164 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 1.985e-05/0.5046, allocations: 85 kB / 0.866 GB, free: 1.062 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.103e-05/0.5047, allocations: 4 kB / 0.866 GB, free: 1.059 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.527e-05/0.5047, allocations: 0 / 0.866 GB, free: 1.059 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.61e-05/0.5047, allocations: 7.984 kB / 0.866 GB, free: 1.051 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-06/0.5047, allocations: 4 kB / 0.866 GB, free: 1.047 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 1.896e-05/0.5047, allocations: 82.19 kB / 0.866 GB, free: 0.9688 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.6e-07/0.5047, allocations: 0 / 0.866 GB, free: 0.9688 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001807/0.5049, allocations: 16 kB / 0.8661 GB, free: 0.9531 MB / 0.5261 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002803/0.5052, allocations: 0.6164 MB / 0.8667 GB, free: 316 kB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 5.65e-05/0.5053, allocations: 7.938 kB / 0.8667 GB, free: 308 kB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.5053, allocations: 0 / 0.8667 GB, free: 308 kB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 8.486e-06/0.5053, allocations: 4 kB / 0.8667 GB, free: 304 kB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001522/0.5055, allocations: 11.95 kB / 0.8667 GB, free: 292 kB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000244/0.5057, allocations: 86.66 kB / 0.8668 GB, free: 168 kB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002268/0.506, allocations: 0.6808 MB / 0.8674 GB, free: 15.46 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.818e-05/0.506, allocations: 2.344 kB / 0.8674 GB, free: 15.46 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.736e-05/0.506, allocations: 13.3 kB / 0.8674 GB, free: 15.45 MB / 0.5417 GB Notification: Performance of SimCode: time 2.61e-07/0.506, allocations: 0 / 0.8674 GB, free: 15.45 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01819/0.5242, allocations: 0.9104 MB / 0.8683 GB, free: 14.57 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001822/0.5245, allocations: 164.7 kB / 0.8685 GB, free: 14.37 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.511/2.035, allocations: 1.969 kB / 0.8685 GB, free: 14.37 MB / 0.5417 GB (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/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_PowerLaw.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1)