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.0008492/0.0008492, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0009408/0.0009408, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 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.8874/0.8874, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.00143/0.00143, allocations: 244.8 kB / 259.4 MB, free: 13.01 MB / 250.7 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 0.6517/0.6517, allocations: 138.4 MB / 454.3 MB, free: 1.602 MB / 362.7 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="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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 3.938 kB / 0.6464 GB, free: 29.04 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.665e-05/1.828e-05, allocations: 6.281 kB / 0.6464 GB, free: 29.03 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001145/0.001164, allocations: 0.5835 MB / 0.6469 GB, free: 28.59 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0002588/0.001422, allocations: 94.75 kB / 0.647 GB, free: 28.52 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.15e-05/0.001444, allocations: 0 / 0.647 GB, free: 28.52 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 1.57e-05/0.00146, allocations: 0 / 0.647 GB, free: 28.52 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 4.396e-05/0.001503, allocations: 4 kB / 0.647 GB, free: 28.52 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002043/0.001708, allocations: 26.22 kB / 0.6471 GB, free: 28.5 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 4.81e-05/0.001756, allocations: 7.75 kB / 0.6471 GB, free: 28.5 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 4.05e-05/0.001796, allocations: 1.375 kB / 0.6471 GB, free: 28.5 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 3.347e-05/0.00183, allocations: 6.516 kB / 0.6471 GB, free: 28.49 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 7.202e-05/0.001902, allocations: 2.25 kB / 0.6471 GB, free: 28.49 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.494e-05/0.001917, allocations: 1.469 kB / 0.6471 GB, free: 28.49 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 5.338e-05/0.00197, allocations: 14.3 kB / 0.6471 GB, free: 28.48 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.315e-05/0.001983, allocations: 5.078 kB / 0.6471 GB, free: 28.48 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 1.649e-05/0.002, allocations: 5.375 kB / 0.6471 GB, free: 28.48 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 9.134e-05/0.002091, allocations: 17.31 kB / 0.6471 GB, free: 28.46 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.002094, allocations: 1.062 kB / 0.6471 GB, free: 28.46 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.162e-06/0.002095, allocations: 0 / 0.6471 GB, free: 28.46 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.0021, allocations: 0 / 0.6471 GB, free: 28.46 MB / 0.5105 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.0002445/0.002344, allocations: 238 kB / 0.6473 GB, free: 28.21 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.002389, allocations: 13.8 kB / 0.6474 GB, free: 28.2 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.509e-05/0.002415, allocations: 36 kB / 0.6474 GB, free: 28.16 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001115/0.002526, allocations: 12.89 kB / 0.6474 GB, free: 28.15 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 3.663e-05/0.002563, allocations: 103.6 kB / 0.6475 GB, free: 28.03 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.085e-05/0.002584, allocations: 6.094 kB / 0.6475 GB, free: 28.02 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.166e-06/0.002592, allocations: 384 / 0.6475 GB, free: 28.02 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.346e-05/0.002685, allocations: 44.34 kB / 0.6476 GB, free: 27.98 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.732e-06/0.002692, allocations: 192 / 0.6476 GB, free: 27.98 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.086e-06/0.0027, allocations: 4.312 kB / 0.6476 GB, free: 27.98 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.002706, allocations: 13.45 kB / 0.6476 GB, free: 27.96 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.968e-05/0.002756, allocations: 10.08 kB / 0.6476 GB, free: 27.96 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.087e-05/0.002847, allocations: 124.9 kB / 0.6477 GB, free: 27.8 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000106/0.002953, allocations: 40.59 kB / 0.6477 GB, free: 27.77 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.802e-05/0.002981, allocations: 16.97 kB / 0.6478 GB, free: 27.75 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.557e-05/0.002997, allocations: 5.312 kB / 0.6478 GB, free: 27.75 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.214e-05/0.003009, allocations: 31.84 kB / 0.6478 GB, free: 27.71 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.00301, allocations: 0 / 0.6478 GB, free: 27.71 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 0.0001449/0.003155, allocations: 53.67 kB / 0.6478 GB, free: 27.66 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.943e-05/0.003174, allocations: 55.34 kB / 0.6479 GB, free: 27.6 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.506e-06/0.003183, allocations: 91.48 kB / 0.648 GB, free: 27.5 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.761e-06/0.003188, allocations: 29.7 kB / 0.648 GB, free: 27.46 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.17e-06/0.003194, allocations: 84.14 kB / 0.6481 GB, free: 27.38 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.531e-05/0.003219, allocations: 9.094 kB / 0.6481 GB, free: 27.37 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.166e-05/0.003241, allocations: 12.66 kB / 0.6481 GB, free: 27.36 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 2.654e-05/0.003267, allocations: 320.4 kB / 0.6484 GB, free: 27.04 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.459e-05/0.003292, allocations: 3.312 kB / 0.6484 GB, free: 27.04 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.607e-05/0.003308, allocations: 12.02 kB / 0.6484 GB, free: 27.03 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.521e-05/0.003353, allocations: 17.73 kB / 0.6484 GB, free: 27.02 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.003355, allocations: 1.406 kB / 0.6484 GB, free: 27.02 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.695e-05/0.003412, allocations: 49.98 kB / 0.6485 GB, free: 26.97 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.003426, allocations: 9.281 kB / 0.6485 GB, free: 26.97 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.00343, allocations: 0 / 0.6485 GB, free: 26.97 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.003442, allocations: 0 / 0.6485 GB, free: 26.97 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002065/0.003648, allocations: 40.19 kB / 0.6485 GB, free: 26.95 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000585/0.004233, allocations: 1.308 MB / 0.6498 GB, free: 25.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.652e-05/0.00425, allocations: 5.5 kB / 0.6498 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.738e-06/0.004255, allocations: 160 / 0.6498 GB, free: 25.59 MB / 0.5105 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 4.394e-05/0.004299, allocations: 116.8 kB / 0.6499 GB, free: 25.47 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.481e-06/0.004304, allocations: 9.125 kB / 0.6499 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.232e-06/0.00431, allocations: 7.516 kB / 0.65 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.004312, allocations: 1.281 kB / 0.65 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.31e-07/0.004313, allocations: 0 / 0.65 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.004316, allocations: 4.828 kB / 0.65 GB, free: 25.45 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.767e-05/0.004353, allocations: 127.9 kB / 0.6501 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.004355, allocations: 0 / 0.6501 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001593/0.004514, allocations: 55.98 kB / 0.6501 GB, free: 25.26 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.004516, allocations: 0 / 0.6501 GB, free: 25.26 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.011e-06/0.004522, allocations: 5.062 kB / 0.6501 GB, free: 25.26 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004237/0.004946, allocations: 1.292 MB / 0.6514 GB, free: 23.91 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.004948, allocations: 7.875 kB / 0.6514 GB, free: 23.91 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.618e-05/0.005004, allocations: 79.98 kB / 0.6515 GB, free: 23.82 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 2.515e-06/0.005006, allocations: 1.25 kB / 0.6515 GB, free: 23.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.218e-06/0.005011, allocations: 5.344 kB / 0.6515 GB, free: 23.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.301e-05/0.005024, allocations: 1.062 kB / 0.6515 GB, free: 23.82 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.571e-05/0.005039, allocations: 9.078 kB / 0.6515 GB, free: 23.81 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-06/0.005043, allocations: 1.219 kB / 0.6515 GB, free: 23.81 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 8.797e-06/0.005052, allocations: 75.28 kB / 0.6516 GB, free: 23.74 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4e-08/0.005052, allocations: 1.125 kB / 0.6516 GB, free: 23.74 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.000127/0.005179, allocations: 6.875 kB / 0.6516 GB, free: 23.73 MB / 0.5105 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.0001705/0.005349, allocations: 0.6029 MB / 0.6522 GB, free: 23.13 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002374/0.005586, allocations: 63.62 kB / 0.6522 GB, free: 23.1 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.005588, allocations: 1.156 kB / 0.6522 GB, free: 23.1 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001155/0.005704, allocations: 37.95 kB / 0.6523 GB, free: 23.09 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001041/0.005808, allocations: 13.41 kB / 0.6523 GB, free: 23.07 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003561/0.006164, allocations: 125.7 kB / 0.6524 GB, free: 22.93 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.512e-05/0.006189, allocations: 55.66 kB / 0.6525 GB, free: 22.86 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 2.557e-05/0.006215, allocations: 6.234 kB / 0.6525 GB, free: 22.86 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.096e-05/0.006246, allocations: 13.64 kB / 0.6525 GB, free: 22.84 MB / 0.5105 GB Notification: Performance of SimCode: time 8.22e-07/0.006247, allocations: 1.188 kB / 0.6525 GB, free: 22.84 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01327/0.01952, allocations: 1.91 MB / 0.6543 GB, free: 21.59 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.407/7.426, allocations: 14.44 kB / 0.6544 GB, free: 21.58 MB / 0.5105 GB " [Timeout remaining time 652] (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: 10.128545033745468] Failed to read output from testmodel.py, exit status != 0: 7.509612231515348 7.516453791 7.512853562 Calling exit ...