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.001498/0.001498, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001423/0.001423, allocations: 192.7 kB / 16.13 MB, free: 6.707 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.113/1.113, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001847/0.001847, allocations: 286.5 kB / 290.2 MB, free: 2.23 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8264/0.8264, allocations: 169.2 MB / 0.4977 GB, free: 14.17 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001481/0.001481, allocations: 93.5 kB / 0.5946 GB, free: 28.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.12, allocations: 86.98 MB / 0.6796 GB, free: 1.051 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.00139/0.1214, allocations: 0.6438 MB / 0.6802 GB, free: 424 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005501/0.122, allocations: 362.8 kB / 0.6805 GB, free: 60 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.373e-06/0.122, allocations: 3.938 kB / 0.6805 GB, free: 56 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.124e-05/0.122, allocations: 1.938 kB / 0.6805 GB, free: 56 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 3.576e-06/0.122, allocations: 0 / 0.6805 GB, free: 56 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002839/0.1223, allocations: 68.42 kB / 0.6806 GB, free: 15.98 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 2.581e-05/0.1223, allocations: 5.719 kB / 0.6806 GB, free: 15.98 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.763e-05/0.1224, allocations: 0 / 0.6806 GB, free: 15.98 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.081e-05/0.1224, allocations: 4 kB / 0.6806 GB, free: 15.98 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.422e-05/0.1224, allocations: 0 / 0.6806 GB, free: 15.98 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.133e-06/0.1224, allocations: 0 / 0.6806 GB, free: 15.98 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003154/0.1227, allocations: 272.5 kB / 0.6809 GB, free: 15.71 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.453e-06/0.1228, allocations: 4 kB / 0.6809 GB, free: 15.71 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.446e-05/0.1228, allocations: 7.984 kB / 0.6809 GB, free: 15.7 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001282/0.1229, allocations: 80.58 kB / 0.681 GB, free: 15.62 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1229, allocations: 5.406 kB / 0.681 GB, free: 15.62 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.12e-07/0.1229, allocations: 0 / 0.681 GB, free: 15.62 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.065e-05/0.1229, allocations: 0 / 0.681 GB, free: 15.62 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.000228/0.1232, allocations: 332.2 kB / 0.6813 GB, free: 15.25 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.886e-05/0.1232, allocations: 8.031 kB / 0.6813 GB, free: 15.24 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.471e-05/0.1232, allocations: 31.38 kB / 0.6813 GB, free: 15.2 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.285e-05/0.1233, allocations: 4.938 kB / 0.6813 GB, free: 15.2 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.866e-05/0.1234, allocations: 168.3 kB / 0.6815 GB, free: 14.99 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.494e-06/0.1234, allocations: 384 / 0.6815 GB, free: 14.99 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.312e-06/0.1234, allocations: 384 / 0.6815 GB, free: 14.99 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.464e-05/0.1234, allocations: 34.25 kB / 0.6815 GB, free: 14.95 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.302e-06/0.1235, allocations: 3.938 kB / 0.6815 GB, free: 14.95 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.853e-06/0.1235, allocations: 4 kB / 0.6815 GB, free: 14.95 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.036e-06/0.1235, allocations: 0 / 0.6815 GB, free: 14.95 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.374e-05/0.1235, allocations: 0 / 0.6815 GB, free: 14.95 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001014/0.1236, allocations: 146 kB / 0.6817 GB, free: 14.75 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.742e-05/0.1236, allocations: 22.52 kB / 0.6817 GB, free: 14.72 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.119e-05/0.1236, allocations: 4.859 kB / 0.6817 GB, free: 14.71 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003948/0.124, allocations: 429.5 kB / 0.6821 GB, free: 14.2 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.474e-05/0.1241, allocations: 34.56 kB / 0.6821 GB, free: 14.16 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.1241, allocations: 0 / 0.6821 GB, free: 14.16 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001087/0.1242, allocations: 41.64 kB / 0.6822 GB, free: 14.11 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.351e-05/0.1242, allocations: 51.41 kB / 0.6822 GB, free: 14.05 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.625e-05/0.1243, allocations: 89.86 kB / 0.6823 GB, free: 13.95 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.513e-05/0.1243, allocations: 25.7 kB / 0.6823 GB, free: 13.92 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.945e-05/0.1243, allocations: 80.14 kB / 0.6824 GB, free: 13.84 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.776e-05/0.1243, allocations: 7.875 kB / 0.6824 GB, free: 13.83 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.362e-05/0.1244, allocations: 17.84 kB / 0.6824 GB, free: 13.81 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.089e-05/0.1244, allocations: 314.8 kB / 0.6827 GB, free: 13.49 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.646e-06/0.1245, allocations: 7.938 kB / 0.6827 GB, free: 13.48 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.711e-06/0.1245, allocations: 4 kB / 0.6827 GB, free: 13.48 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.819e-05/0.1245, allocations: 4.859 kB / 0.6827 GB, free: 13.47 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.1245, allocations: 0 / 0.6827 GB, free: 13.47 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.1e-05/0.1246, allocations: 33.7 kB / 0.6828 GB, free: 13.43 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.037e-06/0.1246, allocations: 7.938 kB / 0.6828 GB, free: 13.43 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.1246, allocations: 8.031 kB / 0.6828 GB, free: 13.42 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.865e-06/0.1246, allocations: 0 / 0.6828 GB, free: 13.42 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.267e-05/0.1246, allocations: 7.984 kB / 0.6828 GB, free: 13.41 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.617e-06/0.1246, allocations: 3.938 kB / 0.6828 GB, free: 13.41 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.714e-06/0.1246, allocations: 0 / 0.6828 GB, free: 13.41 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.148e-06/0.1247, allocations: 0 / 0.6828 GB, free: 13.41 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.464e-05/0.1247, allocations: 107.2 kB / 0.6829 GB, free: 13.29 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.779e-05/0.1247, allocations: 4 kB / 0.6829 GB, free: 13.29 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.833e-05/0.1248, allocations: 44.77 kB / 0.683 GB, free: 13.24 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.1248, allocations: 3.984 kB / 0.683 GB, free: 13.23 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.1248, allocations: 0 / 0.683 GB, free: 13.23 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.864e-06/0.1248, allocations: 0 / 0.683 GB, free: 13.23 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.512e-05/0.1249, allocations: 145.6 kB / 0.6831 GB, free: 13.04 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.1249, allocations: 8 kB / 0.6831 GB, free: 13.04 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.012e-05/0.1249, allocations: 0 / 0.6831 GB, free: 13.04 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.1249, allocations: 0 / 0.6831 GB, free: 13.04 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.761e-06/0.1249, allocations: 3.938 kB / 0.6831 GB, free: 13.03 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.125, allocations: 0 / 0.6831 GB, free: 13.03 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.788e-06/0.125, allocations: 12.02 kB / 0.6831 GB, free: 13.02 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.695e-05/0.125, allocations: 61.06 kB / 0.6832 GB, free: 12.94 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.452e-05/0.1251, allocations: 77.11 kB / 0.6833 GB, free: 12.85 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.426e-06/0.1251, allocations: 3.938 kB / 0.6833 GB, free: 12.84 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.141e-06/0.1251, allocations: 4 kB / 0.6833 GB, free: 12.84 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.274e-06/0.1251, allocations: 0 / 0.6833 GB, free: 12.84 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-06/0.1251, allocations: 0 / 0.6833 GB, free: 12.84 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.059e-05/0.1251, allocations: 79.31 kB / 0.6833 GB, free: 12.76 MB / 494.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1251, allocations: 0 / 0.6833 GB, free: 12.76 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001755/0.1253, allocations: 15.98 kB / 0.6834 GB, free: 12.75 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.0003103/0.1256, allocations: 0.6085 MB / 0.6839 GB, free: 12.11 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 4.829e-05/0.1257, allocations: 12.03 kB / 0.684 GB, free: 12.09 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.1257, allocations: 0 / 0.684 GB, free: 12.09 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.21e-06/0.1257, allocations: 0 / 0.684 GB, free: 12.09 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001068/0.1258, allocations: 4.75 kB / 0.684 GB, free: 12.09 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002178/0.126, allocations: 116.3 kB / 0.6841 GB, free: 11.94 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001776/0.1262, allocations: 0.6692 MB / 0.6847 GB, free: 11.24 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.354e-05/0.1262, allocations: 0 / 0.6847 GB, free: 11.24 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.213e-05/0.1263, allocations: 15.44 kB / 0.6847 GB, free: 11.23 MB / 494.1 MB Notification: Performance of SimCode: time 1.483e-06/0.1263, allocations: 4.125 kB / 0.6847 GB, free: 11.23 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.823/1.949, allocations: 1.082 MB / 0.6858 GB, free: 10.29 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002422/1.949, allocations: 217.9 kB / 0.686 GB, free: 10.04 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.464/3.413, allocations: 8 kB / 0.686 GB, free: 10.03 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)