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.005873/0.005873, allocations: 100.2 kB / 15.73 MB, free: 6.047 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.001115/0.001115, allocations: 185.3 kB / 16.67 MB, free: 5.977 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.285/1.285, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002086/0.002086, allocations: 275.1 kB / 290.8 MB, free: 1.918 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9249/0.9249, allocations: 169.3 MB / 0.4983 GB, free: 13.84 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001794/0.001794, allocations: 100.2 kB / 0.681 GB, free: 15.97 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1496/0.1514, allocations: 86.97 MB / 0.7659 GB, free: 8.922 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001627/0.1531, allocations: 0.5994 MB / 0.7665 GB, free: 8.324 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0006398/0.1537, allocations: 338.7 kB / 0.7669 GB, free: 7.992 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.245e-05/0.1538, allocations: 0 / 0.7669 GB, free: 7.992 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.343e-05/0.1538, allocations: 0 / 0.7669 GB, free: 7.992 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 1.875e-05/0.1538, allocations: 3.938 kB / 0.7669 GB, free: 7.988 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004447/0.1543, allocations: 107.7 kB / 0.767 GB, free: 7.883 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 4.667e-05/0.1543, allocations: 12 kB / 0.767 GB, free: 7.871 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.133e-05/0.1544, allocations: 7.984 kB / 0.767 GB, free: 7.863 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.834e-05/0.1544, allocations: 4 kB / 0.767 GB, free: 7.859 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.697e-05/0.1545, allocations: 3.984 kB / 0.767 GB, free: 7.855 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.225e-05/0.1545, allocations: 0 / 0.767 GB, free: 7.855 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003524/0.1548, allocations: 279.6 kB / 0.7673 GB, free: 7.582 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.015e-05/0.1549, allocations: 0 / 0.7673 GB, free: 7.582 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.121e-05/0.1549, allocations: 8 kB / 0.7673 GB, free: 7.574 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001708/0.1551, allocations: 96.06 kB / 0.7674 GB, free: 7.48 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.1551, allocations: 3.984 kB / 0.7674 GB, free: 7.477 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.232e-06/0.1551, allocations: 3.938 kB / 0.7674 GB, free: 7.473 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.947e-06/0.1551, allocations: 4 kB / 0.7674 GB, free: 7.469 MB / 0.5606 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.0003376/0.1554, allocations: 347.4 kB / 0.7677 GB, free: 7.078 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.1555, allocations: 12.03 kB / 0.7677 GB, free: 7.066 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.025e-05/0.1555, allocations: 30.75 kB / 0.7677 GB, free: 7.027 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.398e-05/0.1556, allocations: 0.9375 kB / 0.7677 GB, free: 7.027 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001085/0.1557, allocations: 160.4 kB / 0.7679 GB, free: 6.832 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.1557, allocations: 4.375 kB / 0.7679 GB, free: 6.828 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.98e-05/0.1557, allocations: 4.375 kB / 0.7679 GB, free: 6.824 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.32e-05/0.1558, allocations: 42.25 kB / 0.7679 GB, free: 6.777 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.1558, allocations: 3.938 kB / 0.7679 GB, free: 6.773 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.073e-06/0.1558, allocations: 0 / 0.7679 GB, free: 6.773 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.426e-06/0.1558, allocations: 0 / 0.7679 GB, free: 6.773 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.017e-05/0.1559, allocations: 11.88 kB / 0.768 GB, free: 6.762 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001627/0.156, allocations: 153.7 kB / 0.7681 GB, free: 6.562 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.411e-05/0.1561, allocations: 22.61 kB / 0.7681 GB, free: 6.531 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.432e-05/0.1561, allocations: 4.922 kB / 0.7681 GB, free: 6.523 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006623/0.1568, allocations: 461.5 kB / 0.7686 GB, free: 5.98 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.494e-05/0.1568, allocations: 38.55 kB / 0.7686 GB, free: 5.934 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.1568, allocations: 8 kB / 0.7686 GB, free: 5.926 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0004681/0.1573, allocations: 250.2 kB / 0.7689 GB, free: 5.629 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.502e-05/0.1573, allocations: 51.41 kB / 0.7689 GB, free: 5.566 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.409e-05/0.1574, allocations: 101.8 kB / 0.769 GB, free: 5.457 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.335e-05/0.1574, allocations: 25.7 kB / 0.769 GB, free: 5.426 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.219e-05/0.1575, allocations: 80.48 kB / 0.7691 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.065e-05/0.1575, allocations: 7.906 kB / 0.7691 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.275e-05/0.1575, allocations: 21.66 kB / 0.7691 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.1576, allocations: 322.8 kB / 0.7694 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.763e-05/0.1577, allocations: 4 kB / 0.7694 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.637e-05/0.1577, allocations: 17.72 kB / 0.7695 GB, free: 4.957 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.23e-05/0.1577, allocations: 21.72 kB / 0.7695 GB, free: 4.93 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.1577, allocations: 4 kB / 0.7695 GB, free: 4.926 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.617e-05/0.1578, allocations: 57.62 kB / 0.7695 GB, free: 4.863 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.1579, allocations: 7.938 kB / 0.7695 GB, free: 4.855 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.1579, allocations: 4 kB / 0.7695 GB, free: 4.852 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.1579, allocations: 0 / 0.7695 GB, free: 4.852 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.317e-05/0.1579, allocations: 4 kB / 0.7696 GB, free: 4.848 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.158, allocations: 11.97 kB / 0.7696 GB, free: 4.836 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.815e-05/0.158, allocations: 0 / 0.7696 GB, free: 4.836 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.158, allocations: 0 / 0.7696 GB, free: 4.836 MB / 0.5606 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 6.965e-05/0.1581, allocations: 118.5 kB / 0.7697 GB, free: 4.711 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.626e-05/0.1581, allocations: 7.844 kB / 0.7697 GB, free: 4.703 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001139/0.1582, allocations: 57.12 kB / 0.7697 GB, free: 4.641 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.1582, allocations: 0 / 0.7697 GB, free: 4.641 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.1582, allocations: 0 / 0.7697 GB, free: 4.641 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-06/0.1582, allocations: 3.984 kB / 0.7697 GB, free: 4.637 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.365e-05/0.1583, allocations: 145.7 kB / 0.7699 GB, free: 4.445 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.1584, allocations: 3.984 kB / 0.7699 GB, free: 4.441 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.182e-05/0.1584, allocations: 16 kB / 0.7699 GB, free: 4.426 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.1584, allocations: 3.938 kB / 0.7699 GB, free: 4.422 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.68e-06/0.1584, allocations: 3.938 kB / 0.7699 GB, free: 4.418 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.1584, allocations: 0 / 0.7699 GB, free: 4.418 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1584, allocations: 0 / 0.7699 GB, free: 4.418 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001322/0.1586, allocations: 77.09 kB / 0.77 GB, free: 4.324 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.235e-05/0.1586, allocations: 85.05 kB / 0.7701 GB, free: 4.223 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.304e-05/0.1586, allocations: 7.984 kB / 0.7701 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.806e-05/0.1587, allocations: 4.062 kB / 0.7701 GB, free: 4.211 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.497e-05/0.1587, allocations: 4 kB / 0.7701 GB, free: 4.207 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.028e-06/0.1587, allocations: 0 / 0.7701 GB, free: 4.207 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 2.88e-05/0.1587, allocations: 75.28 kB / 0.7701 GB, free: 4.133 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1587, allocations: 0 / 0.7701 GB, free: 4.133 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002741/0.159, allocations: 23.98 kB / 0.7702 GB, free: 4.109 MB / 0.5606 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.0004595/0.1595, allocations: 0.6595 MB / 0.7708 GB, free: 3.418 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 7.213e-05/0.1596, allocations: 8 kB / 0.7708 GB, free: 3.41 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.1596, allocations: 4 kB / 0.7708 GB, free: 3.406 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.953e-05/0.1596, allocations: 15.97 kB / 0.7708 GB, free: 3.391 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001398/0.1598, allocations: 5.875 kB / 0.7708 GB, free: 3.387 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009116/0.1607, allocations: 1.136 MB / 0.772 GB, free: 2.16 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002423/0.1609, allocations: 0.6768 MB / 0.7726 GB, free: 1.457 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.89e-05/0.161, allocations: 4 kB / 0.7726 GB, free: 1.453 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.876e-05/0.161, allocations: 7.438 kB / 0.7726 GB, free: 1.445 MB / 0.5606 GB Notification: Performance of SimCode: time 3.4e-07/0.161, allocations: 0 / 0.7726 GB, free: 1.445 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3147/0.4757, allocations: 1.76 MB / 0.7743 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.131/7.606, allocations: 2.906 kB / 0.7743 GB, free: 14.58 MB / 0.5606 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 & /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)