Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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.001621/0.001621, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002059/0.002059, allocations: 218.4 kB / 23.04 MB, free: 5.074 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.467/1.467, allocations: 230.6 MB / 256.8 MB, free: 8 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.8944/0.8944, allocations: 145 MB / 458.2 MB, free: 15.52 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.Examples.RegNonZeroPower,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_RegNonZeroPower",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_RegNonZeroPower",fmuType="cs",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.00195/0.00195, allocations: 58 kB / 0.6339 GB, free: 7.328 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1741/0.1761, allocations: 87.88 MB / 0.7198 GB, free: 15.45 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower): time 0.00295/0.179, allocations: 1.467 MB / 0.7212 GB, free: 13.97 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0009845/0.18, allocations: 383.5 kB / 0.7216 GB, free: 13.59 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.493e-05/0.1801, allocations: 0 / 0.7216 GB, free: 13.59 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.007e-05/0.1801, allocations: 0 / 0.7216 GB, free: 13.59 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.483e-05/0.1801, allocations: 3.938 kB / 0.7216 GB, free: 13.59 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005286/0.1807, allocations: 119.7 kB / 0.7217 GB, free: 13.47 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.012e-05/0.1808, allocations: 23.92 kB / 0.7217 GB, free: 13.45 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001273/0.1809, allocations: 11.97 kB / 0.7217 GB, free: 13.43 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.628e-05/0.1809, allocations: 11.94 kB / 0.7217 GB, free: 13.42 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.746e-05/0.181, allocations: 11.92 kB / 0.7217 GB, free: 13.41 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.764e-05/0.181, allocations: 4 kB / 0.7217 GB, free: 13.41 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004871/0.1815, allocations: 275.7 kB / 0.722 GB, free: 13.14 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.567e-05/0.1815, allocations: 4 kB / 0.722 GB, free: 13.13 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.158e-05/0.1815, allocations: 11.92 kB / 0.722 GB, free: 13.12 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002459/0.1818, allocations: 119.6 kB / 0.7221 GB, free: 13 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.1818, allocations: 3.938 kB / 0.7221 GB, free: 13 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.256e-06/0.1818, allocations: 0 / 0.7221 GB, free: 13 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.376e-06/0.1818, allocations: 0 / 0.7221 GB, free: 13 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005805/0.1824, allocations: 286.1 kB / 0.7224 GB, free: 12.69 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.191e-05/0.1824, allocations: 12.03 kB / 0.7224 GB, free: 12.68 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.781e-05/0.1825, allocations: 192 / 0.7224 GB, free: 12.68 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.228e-05/0.1825, allocations: 30.75 kB / 0.7224 GB, free: 12.64 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.831e-05/0.1826, allocations: 8.938 kB / 0.7225 GB, free: 12.63 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001081/0.1827, allocations: 110.4 kB / 0.7226 GB, free: 12.5 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.109e-05/0.1827, allocations: 8.375 kB / 0.7226 GB, free: 12.49 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.083e-05/0.1827, allocations: 4.359 kB / 0.7226 GB, free: 12.48 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001922/0.1829, allocations: 50 kB / 0.7226 GB, free: 12.43 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.557e-06/0.1829, allocations: 0 / 0.7226 GB, free: 12.43 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.1829, allocations: 0 / 0.7226 GB, free: 12.43 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-06/0.1829, allocations: 3.984 kB / 0.7226 GB, free: 12.43 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00017/0.1831, allocations: 39.91 kB / 0.7227 GB, free: 12.39 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003269/0.1834, allocations: 223.9 kB / 0.7229 GB, free: 12.12 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001301/0.1835, allocations: 38.62 kB / 0.7229 GB, free: 12.08 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.847e-05/0.1836, allocations: 24.83 kB / 0.7229 GB, free: 12.05 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000507/0.1841, allocations: 79.91 kB / 0.723 GB, free: 11.97 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.318e-05/0.1842, allocations: 38.5 kB / 0.7231 GB, free: 11.93 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.262e-06/0.1842, allocations: 0 / 0.7231 GB, free: 11.93 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0003766/0.1845, allocations: 85.64 kB / 0.7231 GB, free: 11.84 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.907e-05/0.1846, allocations: 51.41 kB / 0.7232 GB, free: 11.77 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.775e-05/0.1847, allocations: 105.8 kB / 0.7233 GB, free: 11.66 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.707e-05/0.1847, allocations: 25.7 kB / 0.7233 GB, free: 11.63 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.704e-05/0.1848, allocations: 80.14 kB / 0.7234 GB, free: 11.55 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.965e-05/0.1848, allocations: 7.953 kB / 0.7234 GB, free: 11.54 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.085e-05/0.1848, allocations: 17.84 kB / 0.7234 GB, free: 11.52 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001555/0.185, allocations: 310.8 kB / 0.7237 GB, free: 11.2 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.74e-05/0.185, allocations: 23.97 kB / 0.7237 GB, free: 11.18 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.163e-05/0.1851, allocations: 16.23 kB / 0.7237 GB, free: 11.16 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001532/0.1853, allocations: 48.77 kB / 0.7238 GB, free: 11.11 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.259e-06/0.1853, allocations: 4 kB / 0.7238 GB, free: 11.11 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002744/0.1856, allocations: 69.61 kB / 0.7239 GB, free: 11.04 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.1856, allocations: 6.031 kB / 0.7239 GB, free: 11.03 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.1856, allocations: 0 / 0.7239 GB, free: 11.03 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.1856, allocations: 4 kB / 0.7239 GB, free: 11.03 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.273e-05/0.1857, allocations: 7.984 kB / 0.7239 GB, free: 11.02 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.1857, allocations: 3.984 kB / 0.7239 GB, free: 11.02 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.551e-05/0.1857, allocations: 12.02 kB / 0.7239 GB, free: 11 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-06/0.1857, allocations: 0 / 0.7239 GB, free: 11 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 (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 9.757e-05/0.1858, allocations: 121.7 kB / 0.724 GB, free: 10.88 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.417e-05/0.1859, allocations: 0 / 0.724 GB, free: 10.88 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002687/0.1861, allocations: 77.22 kB / 0.7241 GB, free: 10.79 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.1861, allocations: 0 / 0.7241 GB, free: 10.79 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.1861, allocations: 0 / 0.7241 GB, free: 10.79 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.1861, allocations: 4.031 kB / 0.7241 GB, free: 10.79 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001693/0.1863, allocations: 136.7 kB / 0.7242 GB, free: 10.61 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1863, allocations: 0 / 0.7242 GB, free: 10.61 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.045e-05/0.1864, allocations: 15.92 kB / 0.7242 GB, free: 10.59 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.053e-06/0.1864, allocations: 0 / 0.7242 GB, free: 10.59 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.125e-06/0.1864, allocations: 0 / 0.7242 GB, free: 10.59 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1864, allocations: 0 / 0.7242 GB, free: 10.59 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.1864, allocations: 0 / 0.7242 GB, free: 10.59 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003385/0.1867, allocations: 175.3 kB / 0.7244 GB, free: 10.41 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.007e-05/0.1867, allocations: 4 kB / 0.7244 GB, free: 10.4 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.21e-05/0.1867, allocations: 0 / 0.7244 GB, free: 10.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.376e-05/0.1868, allocations: 7.984 kB / 0.7244 GB, free: 10.39 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.318e-05/0.1869, allocations: 0 / 0.7244 GB, free: 10.39 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/0.1869, allocations: 0 / 0.7244 GB, free: 10.39 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.683e-05/0.1869, allocations: 83.28 kB / 0.7245 GB, free: 10.31 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1869, allocations: 8.031 kB / 0.7245 GB, free: 10.3 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002306/0.1872, allocations: 19.92 kB / 0.7245 GB, free: 10.29 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 (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.00062/0.1878, allocations: 0.7045 MB / 0.7252 GB, free: 9.555 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002114/0.188, allocations: 47.92 kB / 0.7252 GB, free: 9.508 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.188, allocations: 0 / 0.7252 GB, free: 9.508 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.458e-05/0.1881, allocations: 15.98 kB / 0.7253 GB, free: 9.492 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002917/0.1884, allocations: 0 / 0.7253 GB, free: 9.492 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004774/0.1889, allocations: 151.1 kB / 0.7254 GB, free: 9.305 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003167/0.1892, allocations: 0.6771 MB / 0.7261 GB, free: 8.602 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.31e-05/0.1892, allocations: 4 kB / 0.7261 GB, free: 8.598 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.276e-05/0.1892, allocations: 11.42 kB / 0.7261 GB, free: 8.59 MB / 0.545 GB Notification: Performance of SimCode: time 4.2e-07/0.1892, allocations: 0 / 0.7261 GB, free: 8.59 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02145/0.2107, allocations: 1.777 MB / 0.7278 GB, free: 6.969 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.04/11.25, allocations: 12.75 kB / 0.7278 GB, free: 6.957 MB / 0.545 GB " [Timeout remaining time 649] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_RegNonZeroPower_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_RegNonZeroPower.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.961579542024992] Failed to read output from testmodel.py, exit status != 0: 11.406006987090223 11.42161889 11.236658373 Calling exit ...