Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.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.000744/0.000744, 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.000788/0.000788, allocations: 165.9 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.8204/0.8204, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.001365/0.001365, allocations: 234.2 kB / 259.4 MB, free: 13.03 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.6117/0.6117, allocations: 138.4 MB / 454.3 MB, free: 1.621 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.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.923e-06/1.923e-06, allocations: 1.5 kB / 0.6464 GB, free: 29.01 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.68e-05/1.872e-05, allocations: 6.219 kB / 0.6464 GB, free: 29 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.00115/0.001168, allocations: 0.6202 MB / 0.647 GB, free: 28.54 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0004466/0.001615, allocations: 318.3 kB / 0.6473 GB, free: 28.3 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.405e-05/0.001639, allocations: 0 / 0.6473 GB, free: 28.3 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 1.381e-05/0.001653, allocations: 3.938 kB / 0.6473 GB, free: 28.3 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 2.418e-05/0.001677, allocations: 0 / 0.6473 GB, free: 28.3 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003416/0.002019, allocations: 119.6 kB / 0.6474 GB, free: 28.23 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 5.295e-05/0.002072, allocations: 30.53 kB / 0.6474 GB, free: 28.21 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 3.421e-05/0.002106, allocations: 2.969 kB / 0.6474 GB, free: 28.21 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 4.632e-05/0.002152, allocations: 18.14 kB / 0.6474 GB, free: 28.2 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 4.733e-05/0.002199, allocations: 11.98 kB / 0.6475 GB, free: 28.19 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.279e-05/0.002212, allocations: 1.156 kB / 0.6475 GB, free: 28.19 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002192/0.002431, allocations: 259.8 kB / 0.6477 GB, free: 28.05 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.478e-05/0.002446, allocations: 6.25 kB / 0.6477 GB, free: 28.05 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.188e-05/0.002468, allocations: 7.234 kB / 0.6477 GB, free: 28.05 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001496/0.002618, allocations: 135.5 kB / 0.6478 GB, free: 27.95 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.053e-06/0.00262, allocations: 0 / 0.6478 GB, free: 27.95 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.262e-06/0.002621, allocations: 0 / 0.6478 GB, free: 27.95 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.878e-06/0.002625, allocations: 5.125 kB / 0.6479 GB, free: 27.95 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002776/0.002902, allocations: 284 kB / 0.6481 GB, free: 27.66 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.002941, allocations: 10.62 kB / 0.6481 GB, free: 27.66 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.319e-05/0.002964, allocations: 31.88 kB / 0.6482 GB, free: 27.62 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.378e-05/0.003008, allocations: 11.19 kB / 0.6482 GB, free: 27.61 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.418e-05/0.003062, allocations: 112.1 kB / 0.6483 GB, free: 27.48 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.438e-06/0.003072, allocations: 2.719 kB / 0.6483 GB, free: 27.48 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.792e-05/0.00309, allocations: 2.594 kB / 0.6483 GB, free: 27.48 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.774e-05/0.003187, allocations: 105.5 kB / 0.6484 GB, free: 27.37 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.003197, allocations: 192 / 0.6484 GB, free: 27.37 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-06/0.003205, allocations: 5.938 kB / 0.6484 GB, free: 27.36 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.003209, allocations: 4.125 kB / 0.6484 GB, free: 27.36 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.91e-05/0.003249, allocations: 18.55 kB / 0.6484 GB, free: 27.35 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001048/0.003353, allocations: 142.3 kB / 0.6486 GB, free: 27.18 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 8.341e-05/0.003437, allocations: 54.53 kB / 0.6486 GB, free: 27.14 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.287e-05/0.00347, allocations: 24.78 kB / 0.6486 GB, free: 27.12 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003378/0.003807, allocations: 86.73 kB / 0.6487 GB, free: 27.09 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.598e-05/0.003823, allocations: 35.47 kB / 0.6487 GB, free: 27.05 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=7): time 7.42e-07/0.003824, allocations: 3.938 kB / 0.6487 GB, free: 27.04 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11): time 0.0007488/0.004573, allocations: 449.3 kB / 0.6492 GB, free: 26.69 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.944e-05/0.004592, allocations: 56.94 kB / 0.6492 GB, free: 26.62 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.33e-05/0.004626, allocations: 102.2 kB / 0.6493 GB, free: 26.52 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 7.504e-06/0.004633, allocations: 30.86 kB / 0.6494 GB, free: 26.48 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 1.255e-05/0.004646, allocations: 80.14 kB / 0.6494 GB, free: 26.4 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.656e-05/0.004672, allocations: 45.53 kB / 0.6495 GB, free: 26.36 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.062e-05/0.004703, allocations: 25.28 kB / 0.6495 GB, free: 26.34 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 3.205e-05/0.004735, allocations: 321.7 kB / 0.6498 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.718e-05/0.004762, allocations: 15.62 kB / 0.6498 GB, free: 26.01 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.849e-05/0.004791, allocations: 24.58 kB / 0.6498 GB, free: 26 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.45e-05/0.004855, allocations: 58.16 kB / 0.6499 GB, free: 25.97 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.004856, allocations: 3.938 kB / 0.6499 GB, free: 25.96 MB / 0.5105 GB Notification: Performance of matching and sorting (n=13) (initialization): time 9.955e-05/0.004956, allocations: 103 kB / 0.65 GB, free: 25.9 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.004969, allocations: 9.375 kB / 0.65 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.004974, allocations: 0 / 0.65 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.004986, allocations: 1.469 kB / 0.65 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.025e-05/0.005056, allocations: 22.2 kB / 0.65 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.00506, allocations: 0 / 0.65 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.375e-05/0.005074, allocations: 5.156 kB / 0.65 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.042e-06/0.00508, allocations: 2.906 kB / 0.65 GB, free: 25.89 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 (13): * Single equations (assignments): 13 * 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 3.805e-05/0.005118, allocations: 117.4 kB / 0.6502 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.41e-05/0.005132, allocations: 3.188 kB / 0.6502 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001175/0.00525, allocations: 120 kB / 0.6503 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.005252, allocations: 1.062 kB / 0.6503 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.005256, allocations: 0 / 0.6503 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.005259, allocations: 1.312 kB / 0.6503 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002399/0.005499, allocations: 320 kB / 0.6506 GB, free: 25.37 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.005501, allocations: 1.188 kB / 0.6506 GB, free: 25.37 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.541e-05/0.005566, allocations: 21.11 kB / 0.6506 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.005568, allocations: 0 / 0.6506 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.005575, allocations: 1.312 kB / 0.6506 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.005576, allocations: 1.844 kB / 0.6506 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.005576, allocations: 0 / 0.6506 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00015/0.005726, allocations: 227.4 kB / 0.6508 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 1.84e-05/0.005745, allocations: 15.31 kB / 0.6508 GB, free: 25.17 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.008e-05/0.005755, allocations: 1.125 kB / 0.6508 GB, free: 25.17 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.092e-05/0.005796, allocations: 5.531 kB / 0.6508 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.568e-05/0.005812, allocations: 12.08 kB / 0.6509 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.08e-06/0.005817, allocations: 2.281 kB / 0.6509 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 1.24e-05/0.005829, allocations: 81.52 kB / 0.6509 GB, free: 25.08 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5e-08/0.005829, allocations: 1.25 kB / 0.6509 GB, free: 25.08 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001817/0.006011, allocations: 40.84 kB / 0.651 GB, free: 25.07 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * 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 (11): * Single equations (assignments): 11 * 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.000332/0.006343, allocations: 0.8049 MB / 0.6518 GB, free: 24.34 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001053/0.006448, allocations: 62.3 kB / 0.6518 GB, free: 24.32 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.00645, allocations: 1.375 kB / 0.6518 GB, free: 24.32 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.91e-05/0.006479, allocations: 34.42 kB / 0.6519 GB, free: 24.3 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001462/0.006625, allocations: 9.5 kB / 0.6519 GB, free: 24.3 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006637/0.007289, allocations: 1.39 MB / 0.6532 GB, free: 23 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.781e-05/0.007327, allocations: 71.95 kB / 0.6533 GB, free: 22.92 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 3.379e-05/0.007361, allocations: 10.66 kB / 0.6533 GB, free: 22.92 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.788e-05/0.007388, allocations: 16.78 kB / 0.6533 GB, free: 22.91 MB / 0.5105 GB Notification: Performance of SimCode: time 4.71e-07/0.007389, allocations: 0 / 0.6533 GB, free: 22.91 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01484/0.02223, allocations: 3.147 MB / 0.6564 GB, free: 21.09 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.713/6.736, allocations: 3.938 kB / 0.6564 GB, free: 21.09 MB / 0.5105 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.30390248913318] Failed to read output from testmodel.py, exit status != 0: 6.812635563313961 6.822277189 6.817747713 Calling exit ...