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.0007202/0.0007202, 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.000728/0.000728, 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.8752/0.8752, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.001409/0.001409, allocations: 237.5 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.6776/0.6776, allocations: 138.4 MB / 454.3 MB, free: 30.04 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.643e-06/1.643e-06, allocations: 0 / 0.6464 GB, free: 1.812 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.178e-05/2.342e-05, allocations: 2.281 kB / 0.6464 GB, free: 1.809 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001352/0.001375, allocations: 0.6006 MB / 0.6469 GB, free: 1.207 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0005455/0.001921, allocations: 311.5 kB / 0.6472 GB, free: 0.9023 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.433e-05/0.001945, allocations: 8 kB / 0.6472 GB, free: 0.8945 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 1.627e-05/0.001962, allocations: 0 / 0.6472 GB, free: 0.8945 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 2.318e-05/0.001985, allocations: 3.938 kB / 0.6472 GB, free: 0.8906 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004238/0.002409, allocations: 107.6 kB / 0.6474 GB, free: 0.7852 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 5.787e-05/0.002466, allocations: 11.98 kB / 0.6474 GB, free: 0.7734 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.759e-05/0.002514, allocations: 3.984 kB / 0.6474 GB, free: 0.7695 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 3.695e-05/0.002551, allocations: 7.938 kB / 0.6474 GB, free: 0.7617 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 5.568e-05/0.002607, allocations: 0 / 0.6474 GB, free: 0.7617 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.41e-05/0.002621, allocations: 8 kB / 0.6474 GB, free: 0.7539 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002645/0.002885, allocations: 259.6 kB / 0.6476 GB, free: 0.5 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.581e-05/0.002901, allocations: 3.984 kB / 0.6476 GB, free: 0.4961 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 1.578e-05/0.002917, allocations: 0 / 0.6476 GB, free: 0.4961 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001744/0.003091, allocations: 119.7 kB / 0.6477 GB, free: 388 kB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.003096, allocations: 3.984 kB / 0.6478 GB, free: 384 kB / 0.5573 GB Notification: Performance of FrontEnd: time 1.573e-06/0.003097, allocations: 0 / 0.6478 GB, free: 384 kB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.003101, allocations: 4 kB / 0.6478 GB, free: 380 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.0003095/0.003411, allocations: 270.1 kB / 0.648 GB, free: 76 kB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.003456, allocations: 9.938 kB / 0.648 GB, free: 68 kB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.162e-05/0.003488, allocations: 30.75 kB / 0.6481 GB, free: 28 kB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.324e-05/0.003561, allocations: 8.938 kB / 0.6481 GB, free: 20 kB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2473/0.2509, allocations: 102.5 kB / 0.6482 GB, free: 56.92 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.674e-05/0.2509, allocations: 1.312 kB / 0.6482 GB, free: 56.92 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.807e-05/0.2509, allocations: 5.625 kB / 0.6482 GB, free: 56.92 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001105/0.251, allocations: 60.48 kB / 0.6482 GB, free: 56.86 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.251, allocations: 192 / 0.6482 GB, free: 56.86 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.2511, allocations: 384 / 0.6482 GB, free: 56.86 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.2511, allocations: 2.469 kB / 0.6482 GB, free: 56.86 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.049e-05/0.2511, allocations: 7.375 kB / 0.6482 GB, free: 56.86 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001123/0.2512, allocations: 125.6 kB / 0.6484 GB, free: 56.7 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 4.41e-05/0.2512, allocations: 23.94 kB / 0.6484 GB, free: 56.68 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.569e-05/0.2513, allocations: 9.469 kB / 0.6484 GB, free: 56.67 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003946/0.2516, allocations: 75.16 kB / 0.6485 GB, free: 56.67 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.948e-05/0.2517, allocations: 36.22 kB / 0.6485 GB, free: 56.63 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=2): time 1.884e-06/0.2517, allocations: 0 / 0.6485 GB, free: 56.63 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3): time 0.0004547/0.2521, allocations: 172.2 kB / 0.6487 GB, free: 56.48 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.972e-05/0.2521, allocations: 52.75 kB / 0.6487 GB, free: 56.42 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.125e-05/0.2522, allocations: 96.81 kB / 0.6488 GB, free: 56.32 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 6.412e-06/0.2522, allocations: 28.02 kB / 0.6488 GB, free: 56.29 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 1.241e-05/0.2522, allocations: 82.02 kB / 0.6489 GB, free: 56.21 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.274e-05/0.2522, allocations: 9.953 kB / 0.6489 GB, free: 56.21 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.8e-05/0.2523, allocations: 18.72 kB / 0.6489 GB, free: 56.19 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.072e-05/0.2523, allocations: 318.9 kB / 0.6492 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.636e-05/0.2523, allocations: 6.375 kB / 0.6492 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.487e-05/0.2523, allocations: 19.94 kB / 0.6493 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.443e-05/0.2524, allocations: 31.98 kB / 0.6493 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.2524, allocations: 1.469 kB / 0.6493 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.387e-05/0.2524, allocations: 55.77 kB / 0.6493 GB, free: 55.81 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.2525, allocations: 7.594 kB / 0.6494 GB, free: 55.81 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.2525, allocations: 3.781 kB / 0.6494 GB, free: 55.81 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.2525, allocations: 1.062 kB / 0.6494 GB, free: 55.81 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.695e-05/0.2526, allocations: 9.688 kB / 0.6494 GB, free: 55.81 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.2526, allocations: 1.031 kB / 0.6494 GB, free: 55.81 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.318e-05/0.2526, allocations: 6.656 kB / 0.6494 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.2526, allocations: 0.9062 kB / 0.6494 GB, free: 55.8 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 3.597e-05/0.2526, allocations: 115.3 kB / 0.6495 GB, free: 55.69 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.238e-05/0.2526, allocations: 2.594 kB / 0.6495 GB, free: 55.69 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001053/0.2527, allocations: 56.14 kB / 0.6495 GB, free: 55.65 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.2527, allocations: 1.031 kB / 0.6495 GB, free: 55.65 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.2527, allocations: 0.875 kB / 0.6495 GB, free: 55.65 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.2527, allocations: 1.109 kB / 0.6495 GB, free: 55.65 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.166e-05/0.2528, allocations: 127.4 kB / 0.6497 GB, free: 55.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.2528, allocations: 0 / 0.6497 GB, free: 55.5 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.402e-05/0.2528, allocations: 8.531 kB / 0.6497 GB, free: 55.5 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.2528, allocations: 2.391 kB / 0.6497 GB, free: 55.5 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-06/0.2528, allocations: 0.6562 kB / 0.6497 GB, free: 55.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.2528, allocations: 1.75 kB / 0.6497 GB, free: 55.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.2528, allocations: 4.047 kB / 0.6497 GB, free: 55.5 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001075/0.253, allocations: 83.09 kB / 0.6498 GB, free: 55.43 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 5.44e-06/0.253, allocations: 2.641 kB / 0.6498 GB, free: 55.43 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.038e-05/0.253, allocations: 1.969 kB / 0.6498 GB, free: 55.43 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.111e-05/0.253, allocations: 1.406 kB / 0.6498 GB, free: 55.43 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.43e-05/0.253, allocations: 7.391 kB / 0.6498 GB, free: 55.43 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-06/0.253, allocations: 3.766 kB / 0.6498 GB, free: 55.43 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 1.504e-05/0.253, allocations: 82.28 kB / 0.6499 GB, free: 55.35 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.253, allocations: 0 / 0.6499 GB, free: 55.35 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.000156/0.2532, allocations: 29.14 kB / 0.6499 GB, free: 55.35 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.0002984/0.2535, allocations: 0.6428 MB / 0.6505 GB, free: 54.76 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 8.266e-05/0.2536, allocations: 18.64 kB / 0.6505 GB, free: 54.75 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.2536, allocations: 1.844 kB / 0.6505 GB, free: 54.75 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 1.287e-05/0.2536, allocations: 6.609 kB / 0.6505 GB, free: 54.75 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001226/0.2537, allocations: 7.781 kB / 0.6505 GB, free: 54.75 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005768/0.2543, allocations: 1.138 MB / 0.6517 GB, free: 53.67 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.846e-05/0.2543, allocations: 58.28 kB / 0.6517 GB, free: 53.6 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 2.976e-05/0.2543, allocations: 4.25 kB / 0.6517 GB, free: 53.6 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.435e-05/0.2544, allocations: 15.89 kB / 0.6517 GB, free: 53.59 MB / 0.5573 GB Notification: Performance of SimCode: time 1.483e-06/0.2544, allocations: 0 / 0.6517 GB, free: 53.59 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01559/0.27, allocations: 2.404 MB / 0.6541 GB, free: 52.84 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.539/6.809, allocations: 8.25 kB / 0.6541 GB, free: 52.83 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-08 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.327041850425303] Failed to read output from testmodel.py, exit status != 0: 6.8858053321018815 6.896196014 6.8908876039999996 Calling exit ...