Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002369/0.00237, allocations: 181.6 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6114/0.6114, allocations: 91.98 MB / 108.5 MB, free: 13.08 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.658/1.658, allocations: 223.2 MB / 354.3 MB, free: 12.26 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009396/0.0009394, allocations: 115 kB / 427.4 MB, free: 3.953 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004859/0.0004859, allocations: 15.98 kB / 0.4983 GB, free: 42.22 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1895/0.19, allocations: 72.31 MB / 0.5689 GB, free: 1.848 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5192/0.7093, allocations: 101.4 MB / 0.668 GB, free: 3.008 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002637/0.7096, allocations: 75.94 kB / 0.6681 GB, free: 2.934 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01213/0.7218, allocations: 4.063 MB / 0.672 GB, free: 14.88 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.815e-06/0.7218, allocations: 0 / 0.672 GB, free: 14.88 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.7218, allocations: 0 / 0.672 GB, free: 14.88 MB / 474.7 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.0003475/0.7222, allocations: 347.4 kB / 0.6724 GB, free: 14.5 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/0.7223, allocations: 15.97 kB / 0.6724 GB, free: 14.48 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.764e-05/0.7223, allocations: 30.56 kB / 0.6724 GB, free: 14.44 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.139e-05/0.7224, allocations: 3.953 kB / 0.6724 GB, free: 14.44 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.166e-05/0.7225, allocations: 159.1 kB / 0.6726 GB, free: 14.24 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.849e-06/0.7225, allocations: 4 kB / 0.6726 GB, free: 14.24 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.276e-06/0.7225, allocations: 0 / 0.6726 GB, free: 14.24 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.924e-05/0.7226, allocations: 25.7 kB / 0.6726 GB, free: 14.21 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.7226, allocations: 3.984 kB / 0.6726 GB, free: 14.2 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.205e-06/0.7227, allocations: 0 / 0.6726 GB, free: 14.2 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.7227, allocations: 0 / 0.6726 GB, free: 14.2 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.785e-05/0.7227, allocations: 19.89 kB / 0.6726 GB, free: 14.18 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001539/0.7229, allocations: 142.3 kB / 0.6727 GB, free: 14 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.966e-05/0.7229, allocations: 22.55 kB / 0.6728 GB, free: 13.96 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004731/0.7234, allocations: 425.5 kB / 0.6732 GB, free: 13.46 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.239e-05/0.7234, allocations: 38.56 kB / 0.6732 GB, free: 13.41 MB / 474.7 MB Notification: Performance of pre-optimization done (n=1): time 1.443e-06/0.7234, allocations: 0 / 0.6732 GB, free: 13.41 MB / 474.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001718/0.7236, allocations: 41.62 kB / 0.6732 GB, free: 13.36 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.758e-05/0.7237, allocations: 51.41 kB / 0.6733 GB, free: 13.3 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.994e-05/0.7237, allocations: 85 kB / 0.6734 GB, free: 13.21 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.306e-05/0.7237, allocations: 25.7 kB / 0.6734 GB, free: 13.18 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.084e-05/0.7238, allocations: 80.14 kB / 0.6735 GB, free: 13.1 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.254e-05/0.7238, allocations: 8.031 kB / 0.6735 GB, free: 13.09 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.884e-06/0.7238, allocations: 4 kB / 0.6735 GB, free: 13.09 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.724, allocations: 314.8 kB / 0.6738 GB, free: 12.77 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.578e-06/0.724, allocations: 0 / 0.6738 GB, free: 12.77 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.392e-06/0.724, allocations: 0 / 0.6738 GB, free: 12.77 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.956e-05/0.724, allocations: 4 kB / 0.6738 GB, free: 12.77 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.724, allocations: 0 / 0.6738 GB, free: 12.77 MB / 474.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.388e-05/0.7241, allocations: 41.62 kB / 0.6738 GB, free: 12.72 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.7241, allocations: 4 kB / 0.6738 GB, free: 12.71 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.7241, allocations: 8.094 kB / 0.6738 GB, free: 12.71 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.7242, allocations: 0 / 0.6738 GB, free: 12.71 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.184e-05/0.7242, allocations: 0 / 0.6738 GB, free: 12.71 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/0.7242, allocations: 4 kB / 0.6738 GB, free: 12.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.295e-05/0.7242, allocations: 0 / 0.6738 GB, free: 12.7 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.067e-05/0.7243, allocations: 4 kB / 0.6739 GB, free: 12.7 MB / 474.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.093e-05/0.7243, allocations: 109.8 kB / 0.674 GB, free: 12.58 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.813e-05/0.7244, allocations: 0 / 0.674 GB, free: 12.58 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.881e-05/0.7245, allocations: 40.81 kB / 0.674 GB, free: 12.54 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.7245, allocations: 0 / 0.674 GB, free: 12.54 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.7245, allocations: 4 kB / 0.674 GB, free: 12.54 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.7245, allocations: 0 / 0.674 GB, free: 12.54 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.283e-05/0.7246, allocations: 153.6 kB / 0.6741 GB, free: 12.34 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-06/0.7246, allocations: 3.984 kB / 0.6741 GB, free: 12.33 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.434e-05/0.7246, allocations: 3.938 kB / 0.6742 GB, free: 12.33 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.7247, allocations: 4 kB / 0.6742 GB, free: 12.32 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.37e-06/0.7247, allocations: 3.938 kB / 0.6742 GB, free: 12.32 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.7247, allocations: 0 / 0.6742 GB, free: 12.32 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.7247, allocations: 32 / 0.6742 GB, free: 12.32 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.642e-05/0.7248, allocations: 65.09 kB / 0.6742 GB, free: 12.24 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.501e-05/0.7248, allocations: 81.09 kB / 0.6743 GB, free: 12.14 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.082e-05/0.7248, allocations: 0 / 0.6743 GB, free: 12.14 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.284e-06/0.7249, allocations: 0 / 0.6743 GB, free: 12.14 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.625e-05/0.7249, allocations: 3.984 kB / 0.6743 GB, free: 12.14 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.335e-06/0.7249, allocations: 0 / 0.6743 GB, free: 12.14 MB / 474.7 MB Notification: Performance of sorting global known variables: time 3.724e-05/0.7249, allocations: 79.31 kB / 0.6744 GB, free: 12.06 MB / 474.7 MB Notification: Performance of sort global known variables: time 1e-07/0.7249, allocations: 0 / 0.6744 GB, free: 12.06 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0001962/0.7251, allocations: 19.94 kB / 0.6744 GB, free: 12.04 MB / 474.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000456/0.7256, allocations: 0.6085 MB / 0.675 GB, free: 11.4 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 6.831e-05/0.7257, allocations: 4.031 kB / 0.675 GB, free: 11.4 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.7257, allocations: 4.062 kB / 0.675 GB, free: 11.39 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 7.855e-06/0.7257, allocations: 4 kB / 0.675 GB, free: 11.39 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.827e-05/0.7258, allocations: 1.875 kB / 0.675 GB, free: 11.39 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002971/0.7261, allocations: 112.8 kB / 0.6751 GB, free: 11.24 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002303/0.7263, allocations: 0.6731 MB / 0.6758 GB, free: 10.54 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 1.766e-05/0.7264, allocations: 4 kB / 0.6758 GB, free: 10.54 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.597e-05/0.7264, allocations: 7.438 kB / 0.6758 GB, free: 10.53 MB / 474.7 MB Notification: Performance of SimCode: time 3.51e-07/0.7264, allocations: 4.062 kB / 0.6758 GB, free: 10.52 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01294/0.7393, allocations: 0.9598 MB / 0.6767 GB, free: 9.699 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002075/0.7396, allocations: 189.4 kB / 0.6769 GB, free: 9.457 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.494/2.233, allocations: 0 / 0.6769 GB, free: 9.457 MB / 474.7 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPower_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPower.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)