Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7325/0.7325, allocations: 128.7 MB / 143.7 MB, free: 2.324 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001052/0.001052, allocations: 190.7 kB / 173.7 MB, free: 6.109 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.552/1.552, allocations: 205.4 MB / 409 MB, free: 10.49 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009572/0.0009573, allocations: 95.53 kB / 486.6 MB, free: 13 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003327/0.0003329, allocations: 13.62 kB / 0.5604 GB, free: 97.49 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1619/0.1622, allocations: 76.78 MB / 0.6354 GB, free: 30.44 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1544/0.3166, allocations: 102.6 MB / 0.7356 GB, free: 7.738 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003301/0.317, allocations: 79.95 kB / 0.7357 GB, free: 7.66 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.01322/0.3303, allocations: 4.324 MB / 0.7399 GB, free: 3.328 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.275e-06/0.3303, allocations: 3.938 kB / 0.7399 GB, free: 3.324 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.57e-06/0.3303, allocations: 0 / 0.7399 GB, free: 3.324 MB / 0.5105 GB 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.0004054/0.3308, allocations: 353.6 kB / 0.7402 GB, free: 2.934 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.086e-05/0.3308, allocations: 8.031 kB / 0.7402 GB, free: 2.926 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.403e-05/0.3309, allocations: 34.56 kB / 0.7403 GB, free: 2.883 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.034e-05/0.3309, allocations: 3.953 kB / 0.7403 GB, free: 2.879 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000126/0.3311, allocations: 159.1 kB / 0.7404 GB, free: 2.684 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.3311, allocations: 0 / 0.7404 GB, free: 2.684 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.203e-05/0.3311, allocations: 4 kB / 0.7404 GB, free: 2.68 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001188/0.3312, allocations: 29.7 kB / 0.7404 GB, free: 2.645 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.3313, allocations: 0 / 0.7404 GB, free: 2.645 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.3313, allocations: 7.922 kB / 0.7405 GB, free: 2.637 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.3313, allocations: 0 / 0.7405 GB, free: 2.637 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.7e-05/0.3313, allocations: 7.953 kB / 0.7405 GB, free: 2.629 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002019/0.3315, allocations: 145.7 kB / 0.7406 GB, free: 2.438 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 4.928e-05/0.3316, allocations: 18.67 kB / 0.7406 GB, free: 2.41 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005312/0.3321, allocations: 425.6 kB / 0.741 GB, free: 1.902 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.333e-05/0.3322, allocations: 38.56 kB / 0.7411 GB, free: 1.855 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.3322, allocations: 0 / 0.7411 GB, free: 1.855 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 0.0001948/0.3324, allocations: 37.62 kB / 0.7411 GB, free: 1.812 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.082e-05/0.3325, allocations: 55.53 kB / 0.7411 GB, free: 1.746 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.475e-05/0.3325, allocations: 85 kB / 0.7412 GB, free: 1.656 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/0.3325, allocations: 25.7 kB / 0.7413 GB, free: 1.625 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.775e-05/0.3326, allocations: 80.14 kB / 0.7413 GB, free: 1.543 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.425e-05/0.3326, allocations: 0 / 0.7413 GB, free: 1.543 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.755e-06/0.3326, allocations: 4 kB / 0.7413 GB, free: 1.539 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.3327, allocations: 318.8 kB / 0.7416 GB, free: 1.219 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.877e-06/0.3328, allocations: 0 / 0.7416 GB, free: 1.219 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.072e-06/0.3328, allocations: 0 / 0.7416 GB, free: 1.219 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.136e-05/0.3328, allocations: 8.062 kB / 0.7416 GB, free: 1.211 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.3328, allocations: 3.938 kB / 0.7416 GB, free: 1.207 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.817e-05/0.3329, allocations: 41.53 kB / 0.7417 GB, free: 1.16 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.853e-05/0.3329, allocations: 4 kB / 0.7417 GB, free: 1.156 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.3329, allocations: 0 / 0.7417 GB, free: 1.156 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.333, allocations: 4 kB / 0.7417 GB, free: 1.152 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.507e-05/0.333, allocations: 0 / 0.7417 GB, free: 1.152 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.333, allocations: 0 / 0.7417 GB, free: 1.152 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.056e-05/0.333, allocations: 0 / 0.7417 GB, free: 1.152 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.3331, allocations: 0 / 0.7417 GB, free: 1.152 MB / 0.5105 GB 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 9.065e-05/0.3332, allocations: 117.8 kB / 0.7418 GB, free: 1.027 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.543e-05/0.3332, allocations: 0 / 0.7418 GB, free: 1.027 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.752e-05/0.3333, allocations: 40.81 kB / 0.7418 GB, free: 0.9805 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.3333, allocations: 7.875 kB / 0.7419 GB, free: 0.9727 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.3333, allocations: 0 / 0.7419 GB, free: 0.9727 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.3333, allocations: 4 kB / 0.7419 GB, free: 0.9688 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001119/0.3334, allocations: 145.6 kB / 0.742 GB, free: 0.7773 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.3334, allocations: 4.031 kB / 0.742 GB, free: 0.7734 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.732e-05/0.3335, allocations: 7.969 kB / 0.742 GB, free: 0.7656 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.3335, allocations: 0 / 0.742 GB, free: 0.7656 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.3335, allocations: 8 kB / 0.742 GB, free: 0.7578 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3335, allocations: 0 / 0.742 GB, free: 0.7578 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.3335, allocations: 0 / 0.742 GB, free: 0.7578 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001037/0.3336, allocations: 57.09 kB / 0.7421 GB, free: 0.6836 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.182e-05/0.3337, allocations: 81.11 kB / 0.7421 GB, free: 0.5859 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.407e-05/0.3337, allocations: 8.016 kB / 0.7422 GB, free: 0.5781 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.544e-06/0.3337, allocations: 0 / 0.7422 GB, free: 0.5781 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.32e-05/0.3337, allocations: 0 / 0.7422 GB, free: 0.5781 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.464e-06/0.3337, allocations: 0 / 0.7422 GB, free: 0.5781 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.757e-05/0.3338, allocations: 75.28 kB / 0.7422 GB, free: 0.5039 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.185e-06/0.3338, allocations: 0 / 0.7422 GB, free: 0.5039 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.000227/0.334, allocations: 15.94 kB / 0.7422 GB, free: 500 kB / 0.5105 GB 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.3452/0.6792, allocations: 0.6142 MB / 0.7428 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001151/0.6794, allocations: 4.25 kB / 0.7428 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.6794, allocations: 1.188 kB / 0.7428 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.028e-05/0.6794, allocations: 6.156 kB / 0.7429 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001103/0.6795, allocations: 5.703 kB / 0.7429 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003257/0.6798, allocations: 113.1 kB / 0.743 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001157/0.68, allocations: 0.6746 MB / 0.7436 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 2.548e-05/0.68, allocations: 2.875 kB / 0.7436 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.429e-05/0.68, allocations: 8.094 kB / 0.7436 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of SimCode: time 5.91e-07/0.68, allocations: 0 / 0.7436 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01124/0.6913, allocations: 0.9843 MB / 0.7446 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001467/0.6914, allocations: 197.7 kB / 0.7448 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.51/2.201, allocations: 2.344 kB / 0.7448 GB, free: 108.6 MB / 0.5105 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPower_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPower.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)