Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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.0007453/0.0007453, 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.0008082/0.0008082, allocations: 169.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.8821/0.8821, allocations: 177.1 MB / 202.8 MB, free: 5.73 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.001533/0.001533, allocations: 241.1 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.6538/0.6538, allocations: 138.4 MB / 454.3 MB, free: 30.02 MB / 410.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.RegNonZeroPowerDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 0.6463 GB, free: 1.84 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.108e-05/2.257e-05, allocations: 6.219 kB / 0.6463 GB, free: 1.832 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001133/0.001156, allocations: 0.6074 MB / 0.6469 GB, free: 1.227 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0004263/0.001582, allocations: 319.5 kB / 0.6472 GB, free: 0.9141 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.066e-05/0.001603, allocations: 0 / 0.6472 GB, free: 0.9141 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 1.364e-05/0.001616, allocations: 0 / 0.6472 GB, free: 0.9141 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 1.956e-05/0.001636, allocations: 3.938 kB / 0.6472 GB, free: 0.9102 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003582/0.001994, allocations: 106.3 kB / 0.6474 GB, free: 0.8086 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 4.712e-05/0.002041, allocations: 15.98 kB / 0.6474 GB, free: 0.793 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 3.665e-05/0.002078, allocations: 0 / 0.6474 GB, free: 0.793 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 2.928e-05/0.002107, allocations: 11.92 kB / 0.6474 GB, free: 0.7812 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 4.78e-05/0.002155, allocations: 7.984 kB / 0.6474 GB, free: 0.7734 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.264e-05/0.002167, allocations: 0 / 0.6474 GB, free: 0.7734 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002292/0.002397, allocations: 255.7 kB / 0.6476 GB, free: 0.5234 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.279e-05/0.002409, allocations: 4 kB / 0.6476 GB, free: 0.5195 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 1.325e-05/0.002423, allocations: 0 / 0.6476 GB, free: 0.5195 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001485/0.002571, allocations: 123.7 kB / 0.6478 GB, free: 408 kB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 1.813e-06/0.002573, allocations: 0 / 0.6478 GB, free: 408 kB / 0.5573 GB Notification: Performance of FrontEnd: time 6.31e-07/0.002574, allocations: 0 / 0.6478 GB, free: 408 kB / 0.5573 GB Notification: Performance of Transformations before backend: time 3.848e-06/0.002578, allocations: 0 / 0.6478 GB, free: 408 kB / 0.5573 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.0002602/0.002838, allocations: 266.2 kB / 0.648 GB, free: 108 kB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.002874, allocations: 17.94 kB / 0.648 GB, free: 92 kB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.435e-05/0.002898, allocations: 34.69 kB / 0.6481 GB, free: 48 kB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.735e-05/0.002936, allocations: 0.9375 kB / 0.6481 GB, free: 48 kB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2258/0.2287, allocations: 108.9 kB / 0.6482 GB, free: 57.07 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.985e-05/0.2287, allocations: 384 / 0.6482 GB, free: 57.07 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.393e-05/0.2288, allocations: 5.219 kB / 0.6482 GB, free: 57.07 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001254/0.2289, allocations: 59.22 kB / 0.6482 GB, free: 57.01 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.2289, allocations: 0.9688 kB / 0.6482 GB, free: 57.01 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.2289, allocations: 1.5 kB / 0.6482 GB, free: 57.01 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.2289, allocations: 2 kB / 0.6482 GB, free: 57.01 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.216e-05/0.2289, allocations: 5.188 kB / 0.6482 GB, free: 57.01 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001179/0.229, allocations: 126 kB / 0.6484 GB, free: 56.86 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 4.958e-05/0.2291, allocations: 26.92 kB / 0.6484 GB, free: 56.83 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.508e-05/0.2291, allocations: 7.422 kB / 0.6484 GB, free: 56.82 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000414/0.2295, allocations: 76.81 kB / 0.6485 GB, free: 56.82 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.223e-05/0.2295, allocations: 33.75 kB / 0.6485 GB, free: 56.79 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=2): time 3.186e-06/0.2296, allocations: 0.7812 kB / 0.6485 GB, free: 56.79 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3): time 0.0004698/0.23, allocations: 171.5 kB / 0.6487 GB, free: 56.64 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.084e-05/0.23, allocations: 53 kB / 0.6487 GB, free: 56.57 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.821e-05/0.2301, allocations: 97.67 kB / 0.6488 GB, free: 56.48 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 6.713e-06/0.2301, allocations: 26.33 kB / 0.6488 GB, free: 56.45 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 1.245e-05/0.2301, allocations: 86.73 kB / 0.6489 GB, free: 56.36 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.325e-05/0.2301, allocations: 11.27 kB / 0.6489 GB, free: 56.36 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.965e-05/0.2302, allocations: 17.88 kB / 0.6489 GB, free: 56.34 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 2.91e-05/0.2302, allocations: 319.4 kB / 0.6492 GB, free: 56.03 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.413e-05/0.2302, allocations: 5.359 kB / 0.6492 GB, free: 56.03 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.516e-05/0.2302, allocations: 19.17 kB / 0.6493 GB, free: 56.01 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.433e-05/0.2303, allocations: 26.22 kB / 0.6493 GB, free: 56 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.2303, allocations: 0.7188 kB / 0.6493 GB, free: 56 MB / 0.5573 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.386e-05/0.2303, allocations: 64.64 kB / 0.6493 GB, free: 55.96 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.2304, allocations: 5.656 kB / 0.6494 GB, free: 55.96 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.2304, allocations: 0.7812 kB / 0.6494 GB, free: 55.96 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.2304, allocations: 0.7188 kB / 0.6494 GB, free: 55.96 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.168e-05/0.2304, allocations: 9.156 kB / 0.6494 GB, free: 55.96 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.2304, allocations: 0.875 kB / 0.6494 GB, free: 55.96 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.292e-05/0.2305, allocations: 7.453 kB / 0.6494 GB, free: 55.95 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.2305, allocations: 2.562 kB / 0.6494 GB, free: 55.95 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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 4.338e-05/0.2305, allocations: 111.4 kB / 0.6495 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.274e-05/0.2305, allocations: 2.203 kB / 0.6495 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001137/0.2306, allocations: 59.23 kB / 0.6495 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.2306, allocations: 0.5625 kB / 0.6495 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.2306, allocations: 2.438 kB / 0.6495 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.2306, allocations: 1.203 kB / 0.6495 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.326e-05/0.2307, allocations: 128.5 kB / 0.6497 GB, free: 55.64 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.2307, allocations: 0.5156 kB / 0.6497 GB, free: 55.64 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.295e-05/0.2308, allocations: 5.75 kB / 0.6497 GB, free: 55.64 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.2308, allocations: 0.9688 kB / 0.6497 GB, free: 55.64 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-06/0.2308, allocations: 4.859 kB / 0.6497 GB, free: 55.64 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.2308, allocations: 0.875 kB / 0.6497 GB, free: 55.64 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.2308, allocations: 0 / 0.6497 GB, free: 55.64 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001148/0.2309, allocations: 79.16 kB / 0.6498 GB, free: 55.57 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 8.867e-06/0.2309, allocations: 6.328 kB / 0.6498 GB, free: 55.57 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.373e-05/0.2309, allocations: 1.281 kB / 0.6498 GB, free: 55.57 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.342e-05/0.2309, allocations: 5.156 kB / 0.6498 GB, free: 55.57 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.471e-05/0.231, allocations: 7 kB / 0.6498 GB, free: 55.57 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.99e-06/0.231, allocations: 2.062 kB / 0.6498 GB, free: 55.57 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 1.482e-05/0.231, allocations: 82.81 kB / 0.6499 GB, free: 55.49 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.231, allocations: 0 / 0.6499 GB, free: 55.49 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001665/0.2311, allocations: 27.5 kB / 0.6499 GB, free: 55.49 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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): 3 * 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.0003405/0.2315, allocations: 0.6451 MB / 0.6505 GB, free: 54.9 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 8.776e-05/0.2316, allocations: 18.52 kB / 0.6505 GB, free: 54.9 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.2316, allocations: 3.094 kB / 0.6505 GB, free: 54.9 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 1.138e-05/0.2316, allocations: 6.734 kB / 0.6505 GB, free: 54.9 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001247/0.2317, allocations: 4.234 kB / 0.6505 GB, free: 54.9 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006353/0.2323, allocations: 1.139 MB / 0.6517 GB, free: 53.81 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.605e-05/0.2324, allocations: 60.44 kB / 0.6517 GB, free: 53.74 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 3.413e-05/0.2324, allocations: 4.547 kB / 0.6517 GB, free: 53.74 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.219e-05/0.2324, allocations: 13.97 kB / 0.6517 GB, free: 53.74 MB / 0.5573 GB Notification: Performance of SimCode: time 7.91e-07/0.2324, allocations: 0 / 0.6517 GB, free: 53.74 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01564/0.2481, allocations: 2.407 MB / 0.6541 GB, free: 52.99 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.814/7.062, allocations: 4.219 kB / 0.6541 GB, free: 52.99 MB / 0.5573 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0008 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.676621589809656] Failed to read output from testmodel.py, exit status != 0: 7.139736820943654 7.149071022 7.144517532 Calling exit ...