Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.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.001773/0.001773, allocations: 102.9 kB / 16.45 MB, free: 6.449 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.002196/0.002196, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.562/1.562, allocations: 230.6 MB / 252.8 MB, free: 8.969 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002494/0.002494, allocations: 287 kB / 309.1 MB, free: 3.973 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.261/1.261, allocations: 180.9 MB / 0.5333 GB, free: 13.79 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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.Examples.RegNonZeroPower,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",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.002818/0.002818, allocations: 112.7 kB / 0.7343 GB, free: 28.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1908/0.1936, allocations: 95.33 MB / 0.8274 GB, free: 9.891 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.RegNonZeroPower): time 0.002769/0.1964, allocations: 1.467 MB / 0.8288 GB, free: 8.41 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0007822/0.1972, allocations: 393.6 kB / 0.8292 GB, free: 8.023 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.422e-05/0.1972, allocations: 0 / 0.8292 GB, free: 8.023 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.057e-05/0.1973, allocations: 3.938 kB / 0.8292 GB, free: 8.02 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.149e-05/0.1973, allocations: 3.938 kB / 0.8292 GB, free: 8.016 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004556/0.1978, allocations: 118.8 kB / 0.8293 GB, free: 7.902 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.713e-05/0.1978, allocations: 31.91 kB / 0.8293 GB, free: 7.871 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 8.671e-05/0.1979, allocations: 288 / 0.8293 GB, free: 7.871 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.612e-05/0.198, allocations: 15.92 kB / 0.8293 GB, free: 7.855 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.571e-05/0.198, allocations: 11.94 kB / 0.8293 GB, free: 7.844 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.345e-05/0.198, allocations: 4 kB / 0.8293 GB, free: 7.84 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004001/0.1984, allocations: 275.6 kB / 0.8296 GB, free: 7.57 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.383e-05/0.1984, allocations: 4 kB / 0.8296 GB, free: 7.566 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.665e-05/0.1985, allocations: 15.94 kB / 0.8296 GB, free: 7.551 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002153/0.1987, allocations: 111.6 kB / 0.8297 GB, free: 7.441 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1987, allocations: 0 / 0.8297 GB, free: 7.441 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.004e-06/0.1987, allocations: 0 / 0.8297 GB, free: 7.441 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.1987, allocations: 0 / 0.8297 GB, free: 7.441 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.0005658/0.1992, allocations: 368.2 kB / 0.8301 GB, free: 7.031 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.1993, allocations: 8.031 kB / 0.8301 GB, free: 7.023 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.924e-05/0.1993, allocations: 30.75 kB / 0.8301 GB, free: 6.984 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.343e-05/0.1994, allocations: 4.938 kB / 0.8301 GB, free: 6.98 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001675/0.1996, allocations: 172.3 kB / 0.8303 GB, free: 6.773 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.532e-05/0.1996, allocations: 4.375 kB / 0.8303 GB, free: 6.77 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.366e-05/0.1996, allocations: 4.312 kB / 0.8303 GB, free: 6.766 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001985/0.1998, allocations: 54.17 kB / 0.8303 GB, free: 6.707 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.1998, allocations: 3.938 kB / 0.8304 GB, free: 6.703 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.1998, allocations: 0 / 0.8304 GB, free: 6.703 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.1998, allocations: 3.984 kB / 0.8304 GB, free: 6.699 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001882/0.2, allocations: 35.95 kB / 0.8304 GB, free: 6.664 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003872/0.2004, allocations: 253 kB / 0.8306 GB, free: 6.367 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001409/0.2005, allocations: 38.44 kB / 0.8307 GB, free: 6.32 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001014/0.2006, allocations: 28.84 kB / 0.8307 GB, free: 6.289 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007839/0.2014, allocations: 461.5 kB / 0.8311 GB, free: 5.746 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.44e-05/0.2015, allocations: 34.56 kB / 0.8312 GB, free: 5.703 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.2015, allocations: 0 / 0.8312 GB, free: 5.703 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0003995/0.2019, allocations: 85.64 kB / 0.8313 GB, free: 5.613 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.595e-05/0.2019, allocations: 51.41 kB / 0.8313 GB, free: 5.551 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.54e-05/0.202, allocations: 109.8 kB / 0.8314 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.635e-05/0.202, allocations: 25.7 kB / 0.8314 GB, free: 5.402 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.972e-05/0.2021, allocations: 80.14 kB / 0.8315 GB, free: 5.32 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.141e-05/0.2021, allocations: 15.89 kB / 0.8315 GB, free: 5.305 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.451e-05/0.2021, allocations: 13.84 kB / 0.8315 GB, free: 5.285 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.2023, allocations: 322.8 kB / 0.8318 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.742e-05/0.2023, allocations: 15.98 kB / 0.8319 GB, free: 4.945 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.525e-05/0.2024, allocations: 12.23 kB / 0.8319 GB, free: 4.934 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001595/0.2026, allocations: 40.83 kB / 0.8319 GB, free: 4.891 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.2026, allocations: 12 kB / 0.8319 GB, free: 4.879 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002194/0.2028, allocations: 69.61 kB / 0.832 GB, free: 4.805 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.2028, allocations: 8 kB / 0.832 GB, free: 4.797 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.2028, allocations: 0 / 0.832 GB, free: 4.797 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.2028, allocations: 0 / 0.832 GB, free: 4.797 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.847e-05/0.2029, allocations: 11.92 kB / 0.832 GB, free: 4.785 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.2029, allocations: 4 kB / 0.832 GB, free: 4.781 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.531e-05/0.203, allocations: 3.984 kB / 0.832 GB, free: 4.777 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.203, allocations: 8.031 kB / 0.832 GB, free: 4.77 MB / 0.5762 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 (2): * Single equations (assignments): 2 * 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 8.598e-05/0.2031, allocations: 114.4 kB / 0.8321 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.657e-05/0.2031, allocations: 4 kB / 0.8321 GB, free: 4.645 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002373/0.2034, allocations: 65.19 kB / 0.8322 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.2034, allocations: 4 kB / 0.8322 GB, free: 4.57 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.2034, allocations: 0 / 0.8322 GB, free: 4.57 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.584e-06/0.2034, allocations: 0 / 0.8322 GB, free: 4.57 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001852/0.2035, allocations: 169.6 kB / 0.8324 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.2036, allocations: 0 / 0.8324 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.954e-05/0.2036, allocations: 11.98 kB / 0.8324 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.2036, allocations: 3.938 kB / 0.8324 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.315e-06/0.2036, allocations: 3.938 kB / 0.8324 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.979e-06/0.2036, allocations: 7.922 kB / 0.8324 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.2036, allocations: 0 / 0.8324 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00029/0.2039, allocations: 171.4 kB / 0.8325 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.085e-05/0.204, allocations: 81.11 kB / 0.8326 GB, free: 4.047 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.355e-05/0.204, allocations: 0 / 0.8326 GB, free: 4.047 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.456e-05/0.2041, allocations: 7.984 kB / 0.8326 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.317e-05/0.2041, allocations: 0 / 0.8326 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.456e-06/0.2041, allocations: 0 / 0.8326 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.108e-05/0.2041, allocations: 91.27 kB / 0.8327 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.2041, allocations: 0 / 0.8327 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002303/0.2044, allocations: 16.03 kB / 0.8327 GB, free: 3.934 MB / 0.5762 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 (2): * Single equations (assignments): 2 * 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.0006926/0.2051, allocations: 0.7084 MB / 0.8334 GB, free: 3.199 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00023/0.2053, allocations: 43.98 kB / 0.8335 GB, free: 3.156 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2053, allocations: 0 / 0.8335 GB, free: 3.156 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 9.236e-05/0.2054, allocations: 19.98 kB / 0.8335 GB, free: 3.137 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003157/0.2057, allocations: 1.875 kB / 0.8335 GB, free: 3.137 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004642/0.2062, allocations: 155.1 kB / 0.8336 GB, free: 2.945 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003139/0.2065, allocations: 0.6808 MB / 0.8343 GB, free: 2.238 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.335e-05/0.2065, allocations: 4 kB / 0.8343 GB, free: 2.234 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.315e-05/0.2065, allocations: 7.438 kB / 0.8343 GB, free: 2.227 MB / 0.5762 GB Notification: Performance of SimCode: time 3.11e-07/0.2065, allocations: 0 / 0.8343 GB, free: 2.227 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02417/0.2307, allocations: 1.631 MB / 0.8359 GB, free: 0.6992 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.966/8.197, allocations: 8.547 kB / 0.8359 GB, free: 0.6953 MB / 0.5762 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Utilities_Math_Examples_RegNonZeroPower.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.66383904311806] Failed to read output from testmodel.py, exit status != 0: 8.263407649938017 8.283523372 8.081115036 Calling exit ...