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.001556/0.001556, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001901/0.001901, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.351/1.351, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00221/0.00221, allocations: 298.4 kB / 290.7 MB, free: 2.008 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9529/0.9529, allocations: 169.3 MB / 0.4982 GB, free: 13.96 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001746/0.001746, allocations: 97.66 kB / 0.5954 GB, free: 27.85 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1337, allocations: 86.98 MB / 0.6803 GB, free: 0.582 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001635/0.1353, allocations: 0.5694 MB / 0.6809 GB, free: 24 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005926/0.1359, allocations: 330.7 kB / 0.6812 GB, free: 15.7 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.352e-05/0.136, allocations: 4 kB / 0.6812 GB, free: 15.7 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.028e-05/0.136, allocations: 0 / 0.6812 GB, free: 15.7 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.298e-06/0.136, allocations: 2.062 kB / 0.6812 GB, free: 15.7 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004283/0.1364, allocations: 103.7 kB / 0.6813 GB, free: 15.59 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.457e-05/0.1365, allocations: 4.609 kB / 0.6813 GB, free: 15.59 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.468e-05/0.1365, allocations: 3.984 kB / 0.6813 GB, free: 15.59 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.17e-05/0.1365, allocations: 0.7188 kB / 0.6813 GB, free: 15.59 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.104e-05/0.1366, allocations: 4 kB / 0.6813 GB, free: 15.58 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.055e-06/0.1366, allocations: 4.812 kB / 0.6813 GB, free: 15.58 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003741/0.137, allocations: 271.7 kB / 0.6816 GB, free: 15.31 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.957e-06/0.137, allocations: 4.625 kB / 0.6816 GB, free: 15.31 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.515e-05/0.137, allocations: 0 / 0.6816 GB, free: 15.31 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001601/0.1372, allocations: 89.16 kB / 0.6816 GB, free: 15.22 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.1372, allocations: 0 / 0.6816 GB, free: 15.22 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1372, allocations: 0 / 0.6816 GB, free: 15.22 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.479e-06/0.1372, allocations: 0 / 0.6816 GB, free: 15.22 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.0002668/0.1375, allocations: 336.5 kB / 0.682 GB, free: 14.84 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.1375, allocations: 12.03 kB / 0.682 GB, free: 14.83 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.855e-05/0.1375, allocations: 34.75 kB / 0.682 GB, free: 14.79 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.954e-05/0.1376, allocations: 0.9375 kB / 0.682 GB, free: 14.79 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.492e-05/0.1377, allocations: 168.3 kB / 0.6822 GB, free: 14.59 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.326e-06/0.1377, allocations: 384 / 0.6822 GB, free: 14.59 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.855e-06/0.1377, allocations: 384 / 0.6822 GB, free: 14.59 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.47e-05/0.1378, allocations: 30.27 kB / 0.6822 GB, free: 14.55 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.1378, allocations: 3.938 kB / 0.6822 GB, free: 14.55 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.701e-06/0.1378, allocations: 0 / 0.6822 GB, free: 14.55 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.1378, allocations: 7.984 kB / 0.6822 GB, free: 14.54 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.876e-05/0.1378, allocations: 3.938 kB / 0.6822 GB, free: 14.54 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001143/0.138, allocations: 153.7 kB / 0.6824 GB, free: 14.34 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.175e-05/0.138, allocations: 14.58 kB / 0.6824 GB, free: 14.31 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.28e-05/0.138, allocations: 8.797 kB / 0.6824 GB, free: 14.3 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004494/0.1385, allocations: 429.6 kB / 0.6828 GB, free: 13.79 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.308e-05/0.1385, allocations: 30.56 kB / 0.6828 GB, free: 13.75 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.1385, allocations: 0 / 0.6828 GB, free: 13.75 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001283/0.1386, allocations: 41.58 kB / 0.6829 GB, free: 13.7 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.546e-05/0.1387, allocations: 51.41 kB / 0.6829 GB, free: 13.64 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.833e-05/0.1387, allocations: 89.86 kB / 0.683 GB, free: 13.54 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.358e-05/0.1387, allocations: 29.7 kB / 0.683 GB, free: 13.51 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.137e-05/0.1388, allocations: 88.25 kB / 0.6831 GB, free: 13.42 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.859e-05/0.1388, allocations: 0 / 0.6831 GB, free: 13.42 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.476e-05/0.1388, allocations: 13.72 kB / 0.6831 GB, free: 13.4 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.095e-05/0.1389, allocations: 310.8 kB / 0.6834 GB, free: 13.09 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.206e-06/0.1389, allocations: 0 / 0.6834 GB, free: 13.09 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.334e-06/0.1389, allocations: 4 kB / 0.6834 GB, free: 13.08 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.578e-05/0.139, allocations: 8.859 kB / 0.6834 GB, free: 13.07 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.139, allocations: 4.062 kB / 0.6834 GB, free: 13.07 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.065e-05/0.139, allocations: 45.62 kB / 0.6835 GB, free: 13.02 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.1391, allocations: 4 kB / 0.6835 GB, free: 13.01 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.1391, allocations: 7.875 kB / 0.6835 GB, free: 13 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.1391, allocations: 0 / 0.6835 GB, free: 13 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.68e-05/0.1391, allocations: 4 kB / 0.6835 GB, free: 13 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.1391, allocations: 0 / 0.6835 GB, free: 13 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.578e-06/0.1391, allocations: 0 / 0.6835 GB, free: 13 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.428e-06/0.1392, allocations: 0 / 0.6835 GB, free: 13 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.404e-05/0.1392, allocations: 111.2 kB / 0.6836 GB, free: 12.88 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.062e-05/0.1392, allocations: 4 kB / 0.6836 GB, free: 12.88 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.78e-05/0.1393, allocations: 48.69 kB / 0.6837 GB, free: 12.82 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.1393, allocations: 0 / 0.6837 GB, free: 12.82 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.1393, allocations: 0 / 0.6837 GB, free: 12.82 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.824e-06/0.1393, allocations: 0 / 0.6837 GB, free: 12.82 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.613e-05/0.1394, allocations: 149.6 kB / 0.6838 GB, free: 12.63 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1394, allocations: 0 / 0.6838 GB, free: 12.63 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.402e-05/0.1394, allocations: 3.984 kB / 0.6838 GB, free: 12.62 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.1395, allocations: 4.031 kB / 0.6838 GB, free: 12.62 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-06/0.1395, allocations: 3.938 kB / 0.6838 GB, free: 12.62 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.1395, allocations: 0 / 0.6838 GB, free: 12.62 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.1395, allocations: 4 kB / 0.6838 GB, free: 12.61 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.193e-05/0.1396, allocations: 53.14 kB / 0.6839 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.618e-05/0.1396, allocations: 77.11 kB / 0.6839 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.119e-05/0.1396, allocations: 7.922 kB / 0.6839 GB, free: 12.44 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.973e-06/0.1396, allocations: 4 kB / 0.6839 GB, free: 12.44 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.342e-05/0.1396, allocations: 7.969 kB / 0.684 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.235e-06/0.1396, allocations: 3.938 kB / 0.684 GB, free: 12.43 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.236e-05/0.1397, allocations: 75.28 kB / 0.684 GB, free: 12.35 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1397, allocations: 0 / 0.684 GB, free: 12.35 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001923/0.1399, allocations: 12 kB / 0.684 GB, free: 12.34 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.0003396/0.1402, allocations: 0.6125 MB / 0.6846 GB, free: 11.7 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 5.716e-05/0.1403, allocations: 4 kB / 0.6846 GB, free: 11.69 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.1403, allocations: 0 / 0.6846 GB, free: 11.69 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.426e-06/0.1403, allocations: 3.938 kB / 0.6846 GB, free: 11.69 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001255/0.1404, allocations: 11.94 kB / 0.6847 GB, free: 11.68 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002565/0.1407, allocations: 106.7 kB / 0.6848 GB, free: 11.53 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001807/0.1409, allocations: 0.6728 MB / 0.6854 GB, free: 10.83 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.744e-05/0.1409, allocations: 4.125 kB / 0.6854 GB, free: 10.83 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.677e-05/0.141, allocations: 11.44 kB / 0.6854 GB, free: 10.82 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.141, allocations: 0 / 0.6854 GB, free: 10.82 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01602/0.157, allocations: 1.183 MB / 0.6866 GB, free: 9.754 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.72/7.877, allocations: 15.69 kB / 0.6866 GB, free: 9.746 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)