Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008517/0.0008517, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005053/0.005053, allocations: 172.3 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.206/1.206, allocations: 223.2 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002008/0.002008, allocations: 262.6 kB / 291.7 MB, free: 1.883 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8477/0.8477, allocations: 169.5 MB / 0.5004 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003691/0.0003691, allocations: 19.7 kB / 0.5988 GB, free: 27.91 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1357, allocations: 88.54 MB / 0.6852 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.0005924/0.1363, allocations: 309.4 kB / 0.6855 GB, free: 14.64 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000594/0.1369, allocations: 352.9 kB / 0.6859 GB, free: 14.3 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.089e-05/0.1369, allocations: 0 / 0.6859 GB, free: 14.3 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.522e-05/0.1369, allocations: 0 / 0.6859 GB, free: 14.3 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.04e-06/0.137, allocations: 0 / 0.6859 GB, free: 14.3 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003573/0.1373, allocations: 78.73 kB / 0.686 GB, free: 14.23 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.178e-05/0.1374, allocations: 4 kB / 0.686 GB, free: 14.22 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.388e-05/0.1374, allocations: 0 / 0.686 GB, free: 14.22 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.413e-05/0.1374, allocations: 0 / 0.686 GB, free: 14.22 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.971e-05/0.1374, allocations: 0 / 0.686 GB, free: 14.22 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.098e-05/0.1375, allocations: 0.5312 kB / 0.686 GB, free: 14.22 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003453/0.1378, allocations: 272.2 kB / 0.6862 GB, free: 13.96 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.895e-06/0.1378, allocations: 0 / 0.6862 GB, free: 13.96 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.275e-05/0.1379, allocations: 31.03 kB / 0.6862 GB, free: 13.92 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001443/0.138, allocations: 91.84 kB / 0.6863 GB, free: 13.83 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.138, allocations: 0 / 0.6863 GB, free: 13.83 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.138, allocations: 0 / 0.6863 GB, free: 13.83 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.115e-06/0.138, allocations: 1.312 kB / 0.6863 GB, free: 13.83 MB / 494.1 MB 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.000223/0.1383, allocations: 337.2 kB / 0.6867 GB, free: 13.45 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.1383, allocations: 12.77 kB / 0.6867 GB, free: 13.44 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.51e-05/0.1383, allocations: 34.75 kB / 0.6867 GB, free: 13.4 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.6e-05/0.1384, allocations: 2.656 kB / 0.6867 GB, free: 13.4 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.262e-05/0.1385, allocations: 160.4 kB / 0.6869 GB, free: 13.2 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.247e-06/0.1385, allocations: 4.375 kB / 0.6869 GB, free: 13.2 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.252e-06/0.1385, allocations: 384 / 0.6869 GB, free: 13.2 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.632e-05/0.1386, allocations: 30.89 kB / 0.6869 GB, free: 13.16 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.072e-06/0.1386, allocations: 6.875 kB / 0.6869 GB, free: 13.16 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.31e-06/0.1386, allocations: 0 / 0.6869 GB, free: 13.16 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.1386, allocations: 0 / 0.6869 GB, free: 13.16 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.516e-05/0.1386, allocations: 0 / 0.6869 GB, free: 13.16 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001066/0.1387, allocations: 150 kB / 0.687 GB, free: 12.96 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.793e-05/0.1388, allocations: 22.52 kB / 0.6871 GB, free: 12.93 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.213e-05/0.1388, allocations: 6.453 kB / 0.6871 GB, free: 12.93 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000413/0.1392, allocations: 422.9 kB / 0.6875 GB, free: 12.42 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.111e-05/0.1392, allocations: 35.44 kB / 0.6875 GB, free: 12.38 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 8.82e-07/0.1392, allocations: 0 / 0.6875 GB, free: 12.38 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001141/0.1393, allocations: 46.19 kB / 0.6875 GB, free: 12.33 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.491e-05/0.1394, allocations: 52.91 kB / 0.6876 GB, free: 12.27 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.452e-05/0.1394, allocations: 89.86 kB / 0.6877 GB, free: 12.17 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 8.806e-06/0.1394, allocations: 25.7 kB / 0.6877 GB, free: 12.14 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.032e-05/0.1395, allocations: 80.7 kB / 0.6878 GB, free: 12.05 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.937e-05/0.1395, allocations: 8.062 kB / 0.6878 GB, free: 12.05 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.8e-05/0.1395, allocations: 9.719 kB / 0.6878 GB, free: 12.03 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.227e-05/0.1396, allocations: 318.8 kB / 0.6881 GB, free: 11.71 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.432e-06/0.1396, allocations: 0 / 0.6881 GB, free: 11.71 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.987e-06/0.1396, allocations: 0 / 0.6881 GB, free: 11.71 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.991e-05/0.1396, allocations: 8.859 kB / 0.6881 GB, free: 11.7 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.1397, allocations: 0 / 0.6881 GB, free: 11.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.834e-05/0.1397, allocations: 37.62 kB / 0.6882 GB, free: 11.66 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.023e-05/0.1397, allocations: 16.03 kB / 0.6882 GB, free: 11.64 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.1397, allocations: 3.938 kB / 0.6882 GB, free: 11.64 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.233e-06/0.1398, allocations: 0 / 0.6882 GB, free: 11.64 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.976e-05/0.1398, allocations: 0 / 0.6882 GB, free: 11.64 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.146e-06/0.1398, allocations: 0 / 0.6882 GB, free: 11.64 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.568e-06/0.1398, allocations: 4 kB / 0.6882 GB, free: 11.63 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.616e-06/0.1398, allocations: 0 / 0.6882 GB, free: 11.63 MB / 494.1 MB 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 5.32e-05/0.1399, allocations: 111.2 kB / 0.6883 GB, free: 11.52 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.655e-05/0.1399, allocations: 0 / 0.6883 GB, free: 11.52 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.343e-05/0.14, allocations: 48.75 kB / 0.6883 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.14, allocations: 0 / 0.6883 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.14, allocations: 3.938 kB / 0.6883 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.653e-06/0.14, allocations: 0 / 0.6883 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.736e-05/0.1401, allocations: 145.6 kB / 0.6885 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.1401, allocations: 7.922 kB / 0.6885 GB, free: 11.26 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.659e-05/0.1401, allocations: 4 kB / 0.6885 GB, free: 11.25 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.263e-06/0.1401, allocations: 0 / 0.6885 GB, free: 11.25 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.66e-06/0.1401, allocations: 3.938 kB / 0.6885 GB, free: 11.25 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.1401, allocations: 4 kB / 0.6885 GB, free: 11.25 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1401, allocations: 4.031 kB / 0.6885 GB, free: 11.24 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.358e-05/0.1402, allocations: 57.14 kB / 0.6885 GB, free: 11.17 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.652e-05/0.1402, allocations: 81.09 kB / 0.6886 GB, free: 11.07 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.867e-06/0.1403, allocations: 3.938 kB / 0.6886 GB, free: 11.07 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.991e-06/0.1403, allocations: 0 / 0.6886 GB, free: 11.07 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.384e-06/0.1403, allocations: 0 / 0.6886 GB, free: 11.07 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/0.1403, allocations: 4 kB / 0.6886 GB, free: 11.06 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.418e-05/0.1403, allocations: 79.31 kB / 0.6887 GB, free: 10.98 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1403, allocations: 0 / 0.6887 GB, free: 10.98 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001729/0.1405, allocations: 16 kB / 0.6887 GB, free: 10.97 MB / 494.1 MB 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.0003397/0.1408, allocations: 0.6085 MB / 0.6893 GB, free: 10.33 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 4.197e-05/0.1409, allocations: 8.031 kB / 0.6893 GB, free: 10.32 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.1409, allocations: 0 / 0.6893 GB, free: 10.32 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 6.893e-06/0.1409, allocations: 4 kB / 0.6893 GB, free: 10.32 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001142/0.141, allocations: 6.234 kB / 0.6893 GB, free: 10.31 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000221/0.1413, allocations: 119 kB / 0.6894 GB, free: 10.16 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001999/0.1415, allocations: 0.6731 MB / 0.6901 GB, free: 9.461 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.376e-05/0.1415, allocations: 0 / 0.6901 GB, free: 9.461 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.234e-05/0.1415, allocations: 15.55 kB / 0.6901 GB, free: 9.445 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1415, allocations: 0 / 0.6901 GB, free: 9.445 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.468/2.61, allocations: 1.007 MB / 0.6911 GB, free: 8.605 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002079/2.61, allocations: 221.7 kB / 0.6913 GB, free: 8.352 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.448/4.058, allocations: 4 kB / 0.6913 GB, free: 8.348 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegNonZeroPower_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegNonZeroPower.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)