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.007866/0.007866, allocations: 108 kB / 15.74 MB, free: 6.02 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.001806/0.001806, allocations: 193.3 kB / 16.67 MB, free: 5.934 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.386/1.386, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002041/0.002041, allocations: 287.5 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9534/0.9534, allocations: 169.3 MB / 0.4983 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001895/0.001895, allocations: 99.84 kB / 0.681 GB, free: 7.391 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4218/0.4237, allocations: 86.97 MB / 0.766 GB, free: 3.793 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001736/0.4255, allocations: 0.5861 MB / 0.7665 GB, free: 3.211 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0006772/0.4262, allocations: 342.8 kB / 0.7669 GB, free: 2.875 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.058e-05/0.4263, allocations: 0 / 0.7669 GB, free: 2.875 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.469e-05/0.4263, allocations: 3.938 kB / 0.7669 GB, free: 2.871 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 2.3e-05/0.4263, allocations: 0 / 0.7669 GB, free: 2.871 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005052/0.4269, allocations: 115.7 kB / 0.767 GB, free: 2.758 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.528e-05/0.4269, allocations: 11.92 kB / 0.767 GB, free: 2.746 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.732e-05/0.427, allocations: 0 / 0.767 GB, free: 2.746 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.534e-05/0.427, allocations: 8 kB / 0.767 GB, free: 2.738 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.487e-05/0.427, allocations: 0 / 0.767 GB, free: 2.738 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.258e-05/0.4271, allocations: 3.938 kB / 0.767 GB, free: 2.734 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003723/0.4274, allocations: 279.6 kB / 0.7673 GB, free: 2.461 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.375e-05/0.4275, allocations: 7.984 kB / 0.7673 GB, free: 2.453 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.031e-05/0.4275, allocations: 7.875 kB / 0.7673 GB, free: 2.445 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002021/0.4277, allocations: 95.09 kB / 0.7674 GB, free: 2.359 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.4277, allocations: 4 kB / 0.7674 GB, free: 2.355 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.433e-06/0.4277, allocations: 0 / 0.7674 GB, free: 2.355 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.546e-06/0.4277, allocations: 4 kB / 0.7674 GB, free: 2.352 MB / 0.5294 GB 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.0003571/0.4281, allocations: 344.9 kB / 0.7677 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.4282, allocations: 12.03 kB / 0.7677 GB, free: 1.953 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.587e-05/0.4282, allocations: 30.75 kB / 0.7677 GB, free: 1.914 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.881e-05/0.4282, allocations: 0.9375 kB / 0.7677 GB, free: 1.914 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001056/0.4284, allocations: 168.4 kB / 0.7679 GB, free: 1.711 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.4284, allocations: 4.375 kB / 0.7679 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.722e-05/0.4284, allocations: 4.375 kB / 0.7679 GB, free: 1.703 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.34e-05/0.4285, allocations: 34.25 kB / 0.7679 GB, free: 1.664 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.4285, allocations: 3.938 kB / 0.7679 GB, free: 1.66 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.826e-06/0.4285, allocations: 0 / 0.7679 GB, free: 1.66 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.4285, allocations: 4 kB / 0.768 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.139e-05/0.4286, allocations: 7.922 kB / 0.768 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001447/0.4287, allocations: 149.7 kB / 0.7681 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 4.569e-05/0.4288, allocations: 26.59 kB / 0.7681 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.159e-05/0.4288, allocations: 12.92 kB / 0.7681 GB, free: 1.402 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006874/0.4295, allocations: 449.5 kB / 0.7686 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.991e-05/0.4295, allocations: 38.56 kB / 0.7686 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.4295, allocations: 0 / 0.7686 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0005536/0.4301, allocations: 266.2 kB / 0.7689 GB, free: 0.5117 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.632e-05/0.4301, allocations: 55.34 kB / 0.7689 GB, free: 456 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.391e-05/0.4302, allocations: 93.86 kB / 0.769 GB, free: 352 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.296e-05/0.4302, allocations: 26.05 kB / 0.769 GB, free: 320 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 2.985e-05/0.4303, allocations: 88.14 kB / 0.7691 GB, free: 228 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.405e-05/0.4303, allocations: 7.953 kB / 0.7691 GB, free: 220 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.097e-05/0.4303, allocations: 17.7 kB / 0.7691 GB, free: 196 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.4305, allocations: 314.8 kB / 0.7694 GB, free: 15.88 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.89e-05/0.4305, allocations: 4 kB / 0.7694 GB, free: 15.87 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.712e-05/0.4305, allocations: 17.72 kB / 0.7695 GB, free: 15.85 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.881e-05/0.4306, allocations: 29.7 kB / 0.7695 GB, free: 15.81 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.4306, allocations: 0 / 0.7695 GB, free: 15.81 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.413e-05/0.4307, allocations: 53.59 kB / 0.7695 GB, free: 15.75 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.4307, allocations: 11.94 kB / 0.7695 GB, free: 15.74 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.4307, allocations: 7.922 kB / 0.7696 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.4307, allocations: 0 / 0.7696 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.982e-05/0.4308, allocations: 12 kB / 0.7696 GB, free: 15.72 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.4308, allocations: 0 / 0.7696 GB, free: 15.72 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.82e-05/0.4308, allocations: 4.062 kB / 0.7696 GB, free: 15.72 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.051e-06/0.4308, allocations: 3.938 kB / 0.7696 GB, free: 15.71 MB / 0.545 GB 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 7.759e-05/0.4309, allocations: 120.2 kB / 0.7697 GB, free: 15.59 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.535e-05/0.431, allocations: 3.938 kB / 0.7697 GB, free: 15.59 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001181/0.4311, allocations: 53.17 kB / 0.7697 GB, free: 15.53 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.4311, allocations: 0 / 0.7697 GB, free: 15.53 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.4311, allocations: 4 kB / 0.7697 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.4311, allocations: 4 kB / 0.7697 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001015/0.4312, allocations: 153.7 kB / 0.7699 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.4312, allocations: 0 / 0.7699 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.196e-05/0.4313, allocations: 4 kB / 0.7699 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.4313, allocations: 3.938 kB / 0.7699 GB, free: 15.31 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.931e-06/0.4313, allocations: 0 / 0.7699 GB, free: 15.31 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.4313, allocations: 0 / 0.7699 GB, free: 15.31 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.4313, allocations: 0 / 0.7699 GB, free: 15.31 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001457/0.4315, allocations: 85.23 kB / 0.77 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.441e-05/0.4315, allocations: 89.14 kB / 0.7701 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.228e-05/0.4315, allocations: 0 / 0.7701 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.688e-05/0.4316, allocations: 0 / 0.7701 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.359e-05/0.4316, allocations: 4.031 kB / 0.7701 GB, free: 15.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.977e-06/0.4316, allocations: 0 / 0.7701 GB, free: 15.1 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.556e-05/0.4316, allocations: 87.27 kB / 0.7702 GB, free: 15.02 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4316, allocations: 0 / 0.7702 GB, free: 15.02 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002157/0.4319, allocations: 19.94 kB / 0.7702 GB, free: 15 MB / 0.545 GB 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.0004502/0.4323, allocations: 0.6508 MB / 0.7708 GB, free: 14.32 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 8.43e-05/0.4324, allocations: 19.98 kB / 0.7708 GB, free: 14.3 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.4324, allocations: 0 / 0.7708 GB, free: 14.3 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.576e-05/0.4324, allocations: 7.938 kB / 0.7708 GB, free: 14.29 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001328/0.4326, allocations: 4 kB / 0.7708 GB, free: 14.29 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009945/0.4336, allocations: 1.131 MB / 0.7719 GB, free: 13.06 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002519/0.4338, allocations: 0.6768 MB / 0.7726 GB, free: 12.36 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.171e-05/0.4339, allocations: 7.938 kB / 0.7726 GB, free: 12.35 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.599e-05/0.4339, allocations: 11.44 kB / 0.7726 GB, free: 12.34 MB / 0.545 GB Notification: Performance of SimCode: time 2.11e-07/0.4339, allocations: 0 / 0.7726 GB, free: 12.34 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01943/0.4534, allocations: 1.761 MB / 0.7743 GB, free: 10.76 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.279/7.732, allocations: 3.531 kB / 0.7743 GB, free: 10.76 MB / 0.545 GB (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0008 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1)