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/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.001359/0.001359, allocations: 114.8 kB / 17.16 MB, free: 5.969 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.001439/0.001439, allocations: 214.2 kB / 20.13 MB, free: 3.023 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.481/1.481, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.002437/0.002437, allocations: 284.8 kB / 309.8 MB, free: 3.484 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.067/1.067, 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.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_PowerLinearized",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.003045/0.003045, allocations: 109.9 kB / 0.7347 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6232/0.6262, allocations: 95.33 MB / 0.8278 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001797/0.628, allocations: 0.5993 MB / 0.8284 GB, free: 2.652 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0002998/0.6283, allocations: 92.88 kB / 0.8285 GB, free: 2.594 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.331e-05/0.6284, allocations: 0 / 0.8285 GB, free: 2.594 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.385e-05/0.6284, allocations: 0 / 0.8285 GB, free: 2.594 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.19e-05/0.6284, allocations: 3.938 kB / 0.8285 GB, free: 2.59 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002372/0.6287, allocations: 19.73 kB / 0.8285 GB, free: 2.582 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 5.279e-05/0.6287, allocations: 12.83 kB / 0.8285 GB, free: 2.574 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.277e-05/0.6288, allocations: 1.219 kB / 0.8285 GB, free: 2.574 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.897e-05/0.6288, allocations: 6.875 kB / 0.8285 GB, free: 2.57 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 7.76e-05/0.6289, allocations: 7.078 kB / 0.8285 GB, free: 2.566 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.27e-05/0.6289, allocations: 1.188 kB / 0.8285 GB, free: 2.566 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 6.758e-05/0.6289, allocations: 11.16 kB / 0.8286 GB, free: 2.566 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.515e-05/0.629, allocations: 4.656 kB / 0.8286 GB, free: 2.562 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.072e-05/0.629, allocations: 5.984 kB / 0.8286 GB, free: 2.559 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 9.228e-05/0.6291, allocations: 16.64 kB / 0.8286 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.6291, allocations: 0 / 0.8286 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.933e-06/0.6291, allocations: 1.031 kB / 0.8286 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.6291, allocations: 0 / 0.8286 GB, free: 2.555 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003002/0.6294, allocations: 329.6 kB / 0.8289 GB, free: 2.195 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.6294, allocations: 8.969 kB / 0.8289 GB, free: 2.195 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.925e-05/0.6294, allocations: 1.469 kB / 0.8289 GB, free: 2.195 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.112e-05/0.6295, allocations: 31.41 kB / 0.8289 GB, free: 2.156 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001472/0.6296, allocations: 9.031 kB / 0.8289 GB, free: 2.156 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.994e-05/0.6297, allocations: 166 kB / 0.8291 GB, free: 1.961 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.775e-05/0.6297, allocations: 4.375 kB / 0.8291 GB, free: 1.957 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.471e-05/0.6297, allocations: 10.06 kB / 0.8291 GB, free: 1.949 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001392/0.6299, allocations: 45.08 kB / 0.8292 GB, free: 1.91 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.6299, allocations: 0 / 0.8292 GB, free: 1.91 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.6299, allocations: 0 / 0.8292 GB, free: 1.91 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.698e-06/0.6299, allocations: 0 / 0.8292 GB, free: 1.91 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.349e-05/0.63, allocations: 16 kB / 0.8292 GB, free: 1.906 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000116/0.6301, allocations: 151.7 kB / 0.8293 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001637/0.6302, allocations: 46.8 kB / 0.8294 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.438e-05/0.6303, allocations: 12.12 kB / 0.8294 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.301e-05/0.6303, allocations: 0 / 0.8294 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.587e-05/0.6303, allocations: 39.11 kB / 0.8294 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.6303, allocations: 0 / 0.8294 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.000217/0.6305, allocations: 56.8 kB / 0.8295 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.009e-05/0.6305, allocations: 55.41 kB / 0.8295 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.483e-05/0.6306, allocations: 90.52 kB / 0.8296 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.683e-06/0.6306, allocations: 28.33 kB / 0.8296 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 1.379e-05/0.6306, allocations: 80.14 kB / 0.8297 GB, free: 1.309 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.018e-05/0.6306, allocations: 12.59 kB / 0.8297 GB, free: 1.297 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.749e-05/0.6307, allocations: 16.14 kB / 0.8297 GB, free: 1.281 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.439e-05/0.6307, allocations: 311.5 kB / 0.83 GB, free: 0.9688 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.15e-05/0.6307, allocations: 16.66 kB / 0.8301 GB, free: 0.957 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.083e-05/0.6308, allocations: 10.66 kB / 0.8301 GB, free: 0.9531 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.234e-05/0.6308, allocations: 20.66 kB / 0.8301 GB, free: 0.9414 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.6308, allocations: 4 kB / 0.8301 GB, free: 0.9375 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001014/0.6309, allocations: 50.81 kB / 0.8301 GB, free: 0.8984 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.631, allocations: 11.38 kB / 0.8301 GB, free: 0.8945 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.631, allocations: 3.422 kB / 0.8301 GB, free: 0.8945 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.631, allocations: 0 / 0.8301 GB, free: 0.8945 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004046/0.6314, allocations: 45.16 kB / 0.8302 GB, free: 0.8906 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001229/0.6326, allocations: 1.406 MB / 0.8316 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.821e-05/0.6326, allocations: 2.625 kB / 0.8316 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.6326, allocations: 0.75 kB / 0.8316 GB, free: 15.45 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001142/0.6328, allocations: 124.5 kB / 0.8317 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.436e-06/0.6328, allocations: 0 / 0.8317 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.511e-05/0.6328, allocations: 4.391 kB / 0.8317 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.6328, allocations: 6.562 kB / 0.8317 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.923e-06/0.6328, allocations: 0.8438 kB / 0.8317 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.564e-06/0.6328, allocations: 0 / 0.8317 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001296/0.6329, allocations: 158.7 kB / 0.8318 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.6329, allocations: 0.7969 kB / 0.8318 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003641/0.6333, allocations: 45.94 kB / 0.8319 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.6333, allocations: 0 / 0.8319 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.6333, allocations: 3.422 kB / 0.8319 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001444/0.6347, allocations: 1.409 MB / 0.8333 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.6347, allocations: 0 / 0.8333 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001645/0.6349, allocations: 73.34 kB / 0.8333 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 4.956e-05/0.635, allocations: 84.47 kB / 0.8334 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.727e-06/0.635, allocations: 4 kB / 0.8334 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.763e-05/0.635, allocations: 4.594 kB / 0.8334 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.688e-05/0.635, allocations: 4.172 kB / 0.8334 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.635, allocations: 0 / 0.8334 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.26e-05/0.6351, allocations: 75.28 kB / 0.8335 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of sort global known variables: time 6e-08/0.6351, allocations: 2.625 kB / 0.8335 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0001915/0.6353, allocations: 2.625 kB / 0.8335 GB, free: 13.41 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005697/0.6358, allocations: 0.6171 MB / 0.8341 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004894/0.6363, allocations: 65.02 kB / 0.8342 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.6363, allocations: 1.156 kB / 0.8342 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002449/0.6366, allocations: 37.03 kB / 0.8342 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001397/0.6367, allocations: 2.625 kB / 0.8342 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005165/0.6372, allocations: 129.4 kB / 0.8343 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003448/0.6376, allocations: 0.6736 MB / 0.835 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 2.994e-05/0.6376, allocations: 3.281 kB / 0.835 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.404e-05/0.6376, allocations: 15.23 kB / 0.835 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of SimCode: time 3.01e-07/0.6376, allocations: 0 / 0.835 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02051/0.6581, allocations: 1.352 MB / 0.8363 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/12.3, allocations: 21.28 kB / 0.8364 GB, free: 11.57 MB / 0.5919 GB " [Timeout remaining time 648] (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/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_PowerLinearized.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.354413584980648] Failed to read output from testmodel.py, exit status != 0: 12.452841230027843 12.481936566 11.847444609 Calling exit ...