Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.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.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_PowerLinearized",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.9475/0.9475, allocations: 141.8 MB / 149.3 MB, free: 9.215 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.001209/0.001209, allocations: 169 kB / 182.2 MB, free: 9.465 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.557/1.557, allocations: 221.5 MB / 436.4 MB, free: 13.36 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.0009928/0.0009928, allocations: 84.05 kB / 0.5074 GB, free: 10.19 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001883/0.001883, allocations: 275.4 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.863e-05/2.852e-05, allocations: 4 kB / 0.6766 GB, free: 12.73 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4652/0.4652, allocations: 82.78 MB / 0.7575 GB, free: 31.92 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1445/0.6098, allocations: 107.2 MB / 0.8622 GB, free: 4.574 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003534/0.6102, allocations: 75.95 kB / 0.8622 GB, free: 4.5 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.00257/0.6128, allocations: 0.9509 MB / 0.8632 GB, free: 3.551 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.453e-06/0.6129, allocations: 0 / 0.8632 GB, free: 3.551 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.6129, allocations: 0 / 0.8632 GB, free: 3.551 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003/0.6132, allocations: 318.6 kB / 0.8635 GB, free: 3.195 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/0.6133, allocations: 8.031 kB / 0.8635 GB, free: 3.188 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001606/0.6134, allocations: 15.98 kB / 0.8635 GB, free: 3.172 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001023/0.6135, allocations: 159.1 kB / 0.8637 GB, free: 2.977 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.272e-05/0.6136, allocations: 7.953 kB / 0.8637 GB, free: 2.969 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.085e-05/0.6136, allocations: 0 / 0.8637 GB, free: 2.969 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.753e-05/0.6137, allocations: 4 kB / 0.8637 GB, free: 2.965 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.14e-05/0.6137, allocations: 33.69 kB / 0.8637 GB, free: 2.926 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.6138, allocations: 3.938 kB / 0.8637 GB, free: 2.922 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.6138, allocations: 0 / 0.8637 GB, free: 2.922 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.6138, allocations: 0 / 0.8637 GB, free: 2.922 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001505/0.6139, allocations: 142.2 kB / 0.8638 GB, free: 2.746 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 9.17e-05/0.614, allocations: 30.58 kB / 0.8639 GB, free: 2.707 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.593e-05/0.6141, allocations: 8.922 kB / 0.8639 GB, free: 2.695 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.918e-05/0.6141, allocations: 8.125 kB / 0.8639 GB, free: 2.688 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.824e-05/0.6142, allocations: 38.5 kB / 0.8639 GB, free: 2.641 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.6142, allocations: 0 / 0.8639 GB, free: 2.641 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.0001399/0.6143, allocations: 37.64 kB / 0.864 GB, free: 2.598 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.205e-05/0.6144, allocations: 59.34 kB / 0.864 GB, free: 2.527 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.461e-05/0.6144, allocations: 85 kB / 0.8641 GB, free: 2.438 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.862e-05/0.6144, allocations: 29.69 kB / 0.8641 GB, free: 2.402 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 2.928e-05/0.6145, allocations: 84.14 kB / 0.8642 GB, free: 2.316 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.199e-05/0.6145, allocations: 15.75 kB / 0.8642 GB, free: 2.301 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.356e-06/0.6145, allocations: 0 / 0.8642 GB, free: 2.301 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.6146, allocations: 310.8 kB / 0.8645 GB, free: 1.988 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.261e-05/0.6146, allocations: 4 kB / 0.8645 GB, free: 1.984 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.508e-06/0.6147, allocations: 4 kB / 0.8645 GB, free: 1.98 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.042e-05/0.6147, allocations: 8 kB / 0.8645 GB, free: 1.973 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.6147, allocations: 0 / 0.8645 GB, free: 1.973 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.009e-05/0.6148, allocations: 45.69 kB / 0.8646 GB, free: 1.922 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.6148, allocations: 4 kB / 0.8646 GB, free: 1.918 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.6148, allocations: 0 / 0.8646 GB, free: 1.918 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.6148, allocations: 3.953 kB / 0.8646 GB, free: 1.914 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003927/0.6152, allocations: 47.92 kB / 0.8646 GB, free: 1.867 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001029/0.6162, allocations: 1.243 MB / 0.8658 GB, free: 0.5117 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.076e-05/0.6163, allocations: 3.984 kB / 0.8658 GB, free: 0.5078 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.049e-06/0.6163, allocations: 0 / 0.8658 GB, free: 0.5078 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 (3): * 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): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 8.635e-05/0.6164, allocations: 109 kB / 0.8659 GB, free: 404 kB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 5.126e-05/0.6164, allocations: 37.69 kB / 0.866 GB, free: 360 kB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.398e-06/0.6165, allocations: 3.953 kB / 0.866 GB, free: 356 kB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.365e-05/0.6165, allocations: 16.06 kB / 0.866 GB, free: 336 kB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.6165, allocations: 96 / 0.866 GB, free: 336 kB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.52e-07/0.6165, allocations: 4 kB / 0.866 GB, free: 332 kB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.6165, allocations: 0 / 0.866 GB, free: 332 kB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.588e-05/0.6166, allocations: 130.2 kB / 0.8661 GB, free: 164 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.6166, allocations: 0 / 0.8661 GB, free: 164 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003457/0.617, allocations: 39.94 kB / 0.8662 GB, free: 124 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.617, allocations: 4 kB / 0.8662 GB, free: 120 kB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.304e-06/0.617, allocations: 0 / 0.8662 GB, free: 120 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009655/0.618, allocations: 1.245 MB / 0.8674 GB, free: 14.76 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.618, allocations: 8.031 kB / 0.8674 GB, free: 14.75 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.446e-05/0.6181, allocations: 65.06 kB / 0.8675 GB, free: 14.67 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.425e-05/0.6181, allocations: 81.02 kB / 0.8675 GB, free: 14.57 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.797e-06/0.6181, allocations: 7.984 kB / 0.8675 GB, free: 14.57 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.7e-05/0.6182, allocations: 0 / 0.8675 GB, free: 14.57 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.018e-05/0.6182, allocations: 8.047 kB / 0.8675 GB, free: 14.56 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.035e-06/0.6182, allocations: 96 / 0.8675 GB, free: 14.56 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.576e-05/0.6183, allocations: 79.28 kB / 0.8676 GB, free: 14.48 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6183, allocations: 3.938 kB / 0.8676 GB, free: 14.48 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0001777/0.6184, allocations: 0 / 0.8676 GB, free: 14.48 MB / 0.5417 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 (3): * 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): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003748/0.6188, allocations: 0.6163 MB / 0.8682 GB, free: 13.83 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003575/0.6192, allocations: 43.88 kB / 0.8683 GB, free: 13.79 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.6192, allocations: 0 / 0.8683 GB, free: 13.79 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001795/0.6194, allocations: 31.97 kB / 0.8683 GB, free: 13.75 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001021/0.6195, allocations: 11.89 kB / 0.8683 GB, free: 13.74 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002614/0.6198, allocations: 77.66 kB / 0.8684 GB, free: 13.63 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002386/0.62, allocations: 0.6729 MB / 0.869 GB, free: 12.93 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.512e-05/0.6201, allocations: 4 kB / 0.869 GB, free: 12.93 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.696e-05/0.6201, allocations: 13.67 kB / 0.8691 GB, free: 12.91 MB / 0.5417 GB Notification: Performance of SimCode: time 2.6e-07/0.6201, allocations: 0 / 0.8691 GB, free: 12.91 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01867/0.6388, allocations: 0.6945 MB / 0.8697 GB, free: 12.23 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001899/0.639, allocations: 160.9 kB / 0.8699 GB, free: 12.04 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.558/2.197, allocations: 0.9375 kB / 0.8699 GB, free: 12.04 MB / 0.5417 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_PowerLinearized.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)