Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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.RegNonZeroPowerDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",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.001036/0.001036, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001116/0.001116, allocations: 198.2 kB / 16.14 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.172/1.172, allocations: 222.9 MB / 239.8 MB, free: 4.641 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001884/0.001884, allocations: 279.1 kB / 290.2 MB, free: 2.246 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8506/0.8506, allocations: 169.3 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001508/0.001508, allocations: 89.58 kB / 0.5946 GB, free: 28.33 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1217, allocations: 86.99 MB / 0.6796 GB, free: 1.07 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001394/0.1231, allocations: 0.6452 MB / 0.6802 GB, free: 444 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005623/0.1237, allocations: 378.8 kB / 0.6806 GB, free: 64 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.002e-05/0.1237, allocations: 0 / 0.6806 GB, free: 64 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.1e-05/0.1237, allocations: 0 / 0.6806 GB, free: 64 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 1.636e-05/0.1237, allocations: 3.938 kB / 0.6806 GB, free: 60 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003007/0.124, allocations: 85 kB / 0.6806 GB, free: 15.98 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 2.972e-05/0.1241, allocations: 7.938 kB / 0.6806 GB, free: 15.97 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.9e-05/0.1241, allocations: 4 kB / 0.6806 GB, free: 15.97 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.318e-05/0.1241, allocations: 3.938 kB / 0.6807 GB, free: 15.96 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.619e-05/0.1242, allocations: 8.875 kB / 0.6807 GB, free: 15.96 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.287e-06/0.1242, allocations: 0 / 0.6807 GB, free: 15.96 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003018/0.1245, allocations: 276.2 kB / 0.6809 GB, free: 15.69 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.929e-06/0.1245, allocations: 8 kB / 0.6809 GB, free: 15.68 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.477e-05/0.1245, allocations: 4.938 kB / 0.6809 GB, free: 15.68 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001379/0.1247, allocations: 87.84 kB / 0.681 GB, free: 15.59 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1247, allocations: 4 kB / 0.681 GB, free: 15.59 MB / 494.1 MB Notification: Performance of FrontEnd: time 6.52e-07/0.1247, allocations: 1.062 kB / 0.681 GB, free: 15.59 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.655e-06/0.1247, allocations: 0 / 0.681 GB, free: 15.59 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002716/0.125, allocations: 344.4 kB / 0.6814 GB, free: 15.2 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.941e-05/0.125, allocations: 12.03 kB / 0.6814 GB, free: 15.19 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.882e-05/0.125, allocations: 30.75 kB / 0.6814 GB, free: 15.15 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.773e-05/0.1251, allocations: 4.875 kB / 0.6814 GB, free: 15.14 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.745e-05/0.1252, allocations: 164.4 kB / 0.6816 GB, free: 14.95 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.374e-06/0.1252, allocations: 384 / 0.6816 GB, free: 14.95 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.615e-05/0.1252, allocations: 8.266 kB / 0.6816 GB, free: 14.94 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.397e-05/0.1253, allocations: 34.27 kB / 0.6816 GB, free: 14.9 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.251e-06/0.1253, allocations: 3.938 kB / 0.6816 GB, free: 14.89 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.692e-06/0.1253, allocations: 0 / 0.6816 GB, free: 14.89 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.206e-06/0.1253, allocations: 8 kB / 0.6816 GB, free: 14.89 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.765e-05/0.1253, allocations: 0 / 0.6816 GB, free: 14.89 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001174/0.1254, allocations: 161.6 kB / 0.6818 GB, free: 14.68 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.179e-05/0.1255, allocations: 22.55 kB / 0.6818 GB, free: 14.65 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.586e-05/0.1255, allocations: 12.91 kB / 0.6818 GB, free: 14.63 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006148/0.1261, allocations: 457.5 kB / 0.6822 GB, free: 14.09 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.988e-05/0.1262, allocations: 34.56 kB / 0.6823 GB, free: 14.05 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.1262, allocations: 0 / 0.6823 GB, free: 14.05 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003987/0.1266, allocations: 254.5 kB / 0.6825 GB, free: 13.75 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.947e-05/0.1266, allocations: 51.41 kB / 0.6826 GB, free: 13.69 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.496e-05/0.1267, allocations: 97.84 kB / 0.6827 GB, free: 13.58 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.019e-05/0.1267, allocations: 25.7 kB / 0.6827 GB, free: 13.55 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.612e-05/0.1267, allocations: 80.14 kB / 0.6828 GB, free: 13.47 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.983e-05/0.1267, allocations: 19.75 kB / 0.6828 GB, free: 13.45 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.588e-05/0.1268, allocations: 13.72 kB / 0.6828 GB, free: 13.43 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.19e-05/0.1268, allocations: 323 kB / 0.6831 GB, free: 13.11 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.555e-05/0.1269, allocations: 4 kB / 0.6831 GB, free: 13.1 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.469e-05/0.1269, allocations: 17.66 kB / 0.6831 GB, free: 13.08 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.994e-05/0.1269, allocations: 29.7 kB / 0.6831 GB, free: 13.04 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.1269, allocations: 0 / 0.6831 GB, free: 13.04 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.82e-05/0.127, allocations: 49.64 kB / 0.6832 GB, free: 12.99 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.1271, allocations: 16 kB / 0.6832 GB, free: 12.97 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.446e-06/0.1271, allocations: 0 / 0.6832 GB, free: 12.97 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.644e-06/0.1271, allocations: 0 / 0.6832 GB, free: 12.97 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.067e-05/0.1271, allocations: 15.98 kB / 0.6832 GB, free: 12.96 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.1271, allocations: 0 / 0.6832 GB, free: 12.96 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.713e-05/0.1272, allocations: 0 / 0.6832 GB, free: 12.96 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.13e-06/0.1272, allocations: 0 / 0.6832 GB, free: 12.96 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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.201e-05/0.1272, allocations: 111.2 kB / 0.6833 GB, free: 12.84 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.355e-05/0.1273, allocations: 7.938 kB / 0.6833 GB, free: 12.83 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001107/0.1274, allocations: 61.11 kB / 0.6834 GB, free: 12.76 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.1274, allocations: 0 / 0.6834 GB, free: 12.76 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.1274, allocations: 4 kB / 0.6834 GB, free: 12.76 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.1274, allocations: 0 / 0.6834 GB, free: 12.76 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.141e-05/0.1275, allocations: 153.7 kB / 0.6835 GB, free: 12.56 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.1275, allocations: 0 / 0.6835 GB, free: 12.56 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.557e-05/0.1275, allocations: 8.125 kB / 0.6835 GB, free: 12.55 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.1276, allocations: 3.938 kB / 0.6836 GB, free: 12.55 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.701e-06/0.1276, allocations: 0 / 0.6836 GB, free: 12.55 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.1276, allocations: 4 kB / 0.6836 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.1276, allocations: 3.984 kB / 0.6836 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001173/0.1277, allocations: 84.97 kB / 0.6836 GB, free: 12.44 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.864e-05/0.1277, allocations: 85.03 kB / 0.6837 GB, free: 12.34 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.648e-06/0.1278, allocations: 0 / 0.6837 GB, free: 12.34 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.51e-05/0.1278, allocations: 0 / 0.6837 GB, free: 12.34 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.898e-06/0.1278, allocations: 4.031 kB / 0.6837 GB, free: 12.33 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-06/0.1278, allocations: 4.062 kB / 0.6837 GB, free: 12.33 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.822e-05/0.1279, allocations: 79.28 kB / 0.6838 GB, free: 12.25 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1279, allocations: 0 / 0.6838 GB, free: 12.25 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001945/0.1281, allocations: 27.98 kB / 0.6838 GB, free: 12.22 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (3): * Single equations (assignments): 3 * 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.0003789/0.1284, allocations: 0.6476 MB / 0.6845 GB, free: 11.54 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 6.898e-05/0.1285, allocations: 27.92 kB / 0.6845 GB, free: 11.52 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1285, allocations: 0 / 0.6845 GB, free: 11.52 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.706e-05/0.1286, allocations: 4 kB / 0.6845 GB, free: 11.51 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001231/0.1287, allocations: 4 kB / 0.6845 GB, free: 11.51 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007428/0.1294, allocations: 1.133 MB / 0.6856 GB, free: 10.29 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001737/0.1296, allocations: 0.677 MB / 0.6863 GB, free: 9.586 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.729e-05/0.1296, allocations: 8.062 kB / 0.6863 GB, free: 9.578 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.939e-05/0.1297, allocations: 7.438 kB / 0.6863 GB, free: 9.574 MB / 494.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1297, allocations: 0 / 0.6863 GB, free: 9.574 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.99/1.12, allocations: 1.625 MB / 0.6879 GB, free: 8.137 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002112/1.12, allocations: 242.2 kB / 0.6881 GB, free: 7.879 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.559/2.679, allocations: 4 kB / 0.6881 GB, free: 7.875 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1)