Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.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.001599/0.001599, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002154/0.002154, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.481/1.481, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.9354/0.9354, allocations: 145 MB / 457.4 MB, free: 15.26 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/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(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: BuildSysPro 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.002051/0.002051, allocations: 74.81 kB / 0.6331 GB, free: 6.66 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.18/0.1821, allocations: 87.89 MB / 0.719 GB, free: 14.79 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001883/0.184, allocations: 0.5846 MB / 0.7195 GB, free: 14.21 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0007035/0.1847, allocations: 294.9 kB / 0.7198 GB, free: 13.92 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.314e-05/0.1847, allocations: 0 / 0.7198 GB, free: 13.92 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.487e-05/0.1847, allocations: 0 / 0.7198 GB, free: 13.92 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.563e-06/0.1847, allocations: 0 / 0.7198 GB, free: 13.92 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004443/0.1852, allocations: 107.7 kB / 0.7199 GB, free: 13.81 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 3.886e-05/0.1852, allocations: 11.86 kB / 0.7199 GB, free: 13.8 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.376e-05/0.1852, allocations: 0 / 0.7199 GB, free: 13.8 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.325e-05/0.1852, allocations: 3.984 kB / 0.7199 GB, free: 13.8 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 1.911e-05/0.1853, allocations: 4 kB / 0.7199 GB, free: 13.79 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.844e-06/0.1853, allocations: 0 / 0.7199 GB, free: 13.79 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004068/0.1857, allocations: 255.7 kB / 0.7202 GB, free: 13.54 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.338e-05/0.1857, allocations: 4 kB / 0.7202 GB, free: 13.54 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.204e-05/0.1857, allocations: 0 / 0.7202 GB, free: 13.54 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001718/0.1859, allocations: 87.78 kB / 0.7203 GB, free: 13.45 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.1859, allocations: 0 / 0.7203 GB, free: 13.45 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.542e-06/0.1859, allocations: 4 kB / 0.7203 GB, free: 13.45 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.1859, allocations: 0 / 0.7203 GB, free: 13.45 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003029/0.1862, allocations: 258.2 kB / 0.7205 GB, free: 13.16 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.1862, allocations: 12.03 kB / 0.7205 GB, free: 13.15 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.189e-05/0.1863, allocations: 30.75 kB / 0.7206 GB, free: 13.11 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.361e-05/0.1863, allocations: 8.938 kB / 0.7206 GB, free: 13.11 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.434e-05/0.1864, allocations: 102.5 kB / 0.7207 GB, free: 12.98 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.1864, allocations: 8.312 kB / 0.7207 GB, free: 12.97 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.5e-06/0.1864, allocations: 384 / 0.7207 GB, free: 12.97 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.585e-05/0.1865, allocations: 30.25 kB / 0.7207 GB, free: 12.94 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.1865, allocations: 7.938 kB / 0.7207 GB, free: 12.93 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.652e-06/0.1865, allocations: 0 / 0.7207 GB, free: 12.93 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/0.1865, allocations: 3.938 kB / 0.7207 GB, free: 12.93 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.707e-05/0.1865, allocations: 4 kB / 0.7207 GB, free: 12.92 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000138/0.1867, allocations: 116.8 kB / 0.7208 GB, free: 12.77 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 4.549e-05/0.1867, allocations: 18.61 kB / 0.7208 GB, free: 12.74 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.451e-05/0.1867, allocations: 4.859 kB / 0.7208 GB, free: 12.73 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003589/0.1871, allocations: 56 kB / 0.7209 GB, free: 12.68 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.354e-05/0.1871, allocations: 30.56 kB / 0.7209 GB, free: 12.64 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.001e-06/0.1871, allocations: 0 / 0.7209 GB, free: 12.64 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001661/0.1873, allocations: 41.58 kB / 0.721 GB, free: 12.59 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.803e-05/0.1873, allocations: 55.41 kB / 0.721 GB, free: 12.52 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.885e-05/0.1874, allocations: 89.86 kB / 0.7211 GB, free: 12.43 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.728e-05/0.1874, allocations: 33.62 kB / 0.7211 GB, free: 12.39 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.281e-05/0.1875, allocations: 80.14 kB / 0.7212 GB, free: 12.3 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.971e-05/0.1875, allocations: 0 / 0.7212 GB, free: 12.3 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.872e-05/0.1875, allocations: 13.72 kB / 0.7212 GB, free: 12.29 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001508/0.1877, allocations: 315 kB / 0.7215 GB, free: 11.97 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.698e-06/0.1877, allocations: 0 / 0.7215 GB, free: 11.97 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.396e-06/0.1877, allocations: 4 kB / 0.7215 GB, free: 11.96 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.212e-05/0.1877, allocations: 12.8 kB / 0.7215 GB, free: 11.95 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.1877, allocations: 0 / 0.7215 GB, free: 11.95 MB / 0.545 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.895e-05/0.1878, allocations: 37.69 kB / 0.7216 GB, free: 11.91 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.1878, allocations: 4 kB / 0.7216 GB, free: 11.9 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.1878, allocations: 3.938 kB / 0.7216 GB, free: 11.9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.1878, allocations: 0 / 0.7216 GB, free: 11.9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.383e-05/0.1879, allocations: 8.094 kB / 0.7216 GB, free: 11.89 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.159e-06/0.1879, allocations: 0 / 0.7216 GB, free: 11.89 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.308e-06/0.1879, allocations: 0 / 0.7216 GB, free: 11.89 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.609e-06/0.1879, allocations: 0 / 0.7216 GB, free: 11.89 MB / 0.545 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 (1): * Single equations (assignments): 1 * 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.284e-05/0.188, allocations: 109.8 kB / 0.7217 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.731e-05/0.188, allocations: 3.938 kB / 0.7217 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.959e-05/0.1881, allocations: 48.56 kB / 0.7218 GB, free: 11.71 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.1881, allocations: 0 / 0.7218 GB, free: 11.71 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.1881, allocations: 0 / 0.7218 GB, free: 11.71 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.1881, allocations: 8.031 kB / 0.7218 GB, free: 11.7 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001047/0.1882, allocations: 112.8 kB / 0.7219 GB, free: 11.55 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.1882, allocations: 0 / 0.7219 GB, free: 11.55 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.085e-05/0.1882, allocations: 0 / 0.7219 GB, free: 11.55 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.1882, allocations: 4 kB / 0.7219 GB, free: 11.55 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.1882, allocations: 7.922 kB / 0.7219 GB, free: 11.54 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.1882, allocations: 0 / 0.7219 GB, free: 11.54 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.1882, allocations: 4 kB / 0.7219 GB, free: 11.54 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.864e-05/0.1883, allocations: 57.14 kB / 0.7219 GB, free: 11.46 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.869e-06/0.1883, allocations: 0 / 0.7219 GB, free: 11.46 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.146e-05/0.1883, allocations: 7.875 kB / 0.7219 GB, free: 11.45 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.352e-06/0.1884, allocations: 4.031 kB / 0.7219 GB, free: 11.45 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.686e-05/0.1884, allocations: 7.984 kB / 0.722 GB, free: 11.44 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-06/0.1884, allocations: 0 / 0.722 GB, free: 11.44 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.486e-05/0.1884, allocations: 75.28 kB / 0.722 GB, free: 11.37 MB / 0.545 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1884, allocations: 0 / 0.722 GB, free: 11.37 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001893/0.1886, allocations: 11.94 kB / 0.722 GB, free: 11.36 MB / 0.545 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 (1): * Single equations (assignments): 1 * 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.0005114/0.1891, allocations: 0.6085 MB / 0.7226 GB, free: 10.71 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 7.098e-05/0.1892, allocations: 15.88 kB / 0.7226 GB, free: 10.7 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.1892, allocations: 4.094 kB / 0.7227 GB, free: 10.7 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.606e-06/0.1892, allocations: 4 kB / 0.7227 GB, free: 10.69 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001243/0.1893, allocations: 0 / 0.7227 GB, free: 10.69 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003095/0.1896, allocations: 110.5 kB / 0.7228 GB, free: 10.54 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.373e-05/0.1897, allocations: 55.36 kB / 0.7228 GB, free: 10.47 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.551e-05/0.1897, allocations: 0 / 0.7228 GB, free: 10.47 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.783e-05/0.1897, allocations: 7.438 kB / 0.7228 GB, free: 10.46 MB / 0.545 GB Notification: Performance of SimCode: time 3.01e-07/0.1897, allocations: 0 / 0.7228 GB, free: 10.46 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02779/0.2175, allocations: 1.689 MB / 0.7245 GB, free: 8.898 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/11.25, allocations: 19.19 kB / 0.7245 GB, free: 8.883 MB / 0.545 GB " [Timeout remaining time 649] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPower_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPower.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.980287968181074] Failed to read output from testmodel.py, exit status != 0: 11.358245186973363 11.38296919 11.192581407 Calling exit ...