Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_RegNonZeroPower",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.005687/0.005687, allocations: 101.7 kB / 15.88 MB, free: 6.312 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.001247/0.001247, allocations: 197.6 kB / 16.79 MB, free: 6.242 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.252/1.252, allocations: 222.9 MB / 240.5 MB, free: 15.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6779/0.6779, allocations: 115.3 MB / 405.9 MB, free: 6.402 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 59.91 kB / 493 MB, free: 0.7773 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3094/0.3108, allocations: 76.17 MB / 0.5558 GB, free: 36.36 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.RegNonZeroPower): time 0.002162/0.313, allocations: 1.498 MB / 0.5573 GB, free: 35.33 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006171/0.3136, allocations: 417.6 kB / 0.5577 GB, free: 35.06 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.211e-05/0.3136, allocations: 1.281 kB / 0.5577 GB, free: 35.06 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.888e-05/0.3137, allocations: 3.938 kB / 0.5577 GB, free: 35.06 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.981e-05/0.3137, allocations: 1.938 kB / 0.5577 GB, free: 35.06 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003089/0.3141, allocations: 83.73 kB / 0.5578 GB, free: 35.03 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.945e-05/0.3141, allocations: 19.08 kB / 0.5578 GB, free: 35.02 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.326e-05/0.3142, allocations: 9.609 kB / 0.5578 GB, free: 35.02 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.46e-05/0.3142, allocations: 10.56 kB / 0.5578 GB, free: 35.01 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.155e-05/0.3143, allocations: 10.77 kB / 0.5578 GB, free: 35.01 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.087e-05/0.3143, allocations: 1.281 kB / 0.5578 GB, free: 35.01 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003269/0.3146, allocations: 273.2 kB / 0.5581 GB, free: 34.94 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.348e-05/0.3146, allocations: 6.672 kB / 0.5581 GB, free: 34.94 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.33e-05/0.3147, allocations: 14.72 kB / 0.5581 GB, free: 34.93 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001841/0.3149, allocations: 107.8 kB / 0.5582 GB, free: 34.89 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.3149, allocations: 0 / 0.5582 GB, free: 34.89 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.3149, allocations: 5.656 kB / 0.5582 GB, free: 34.89 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.256e-06/0.3149, allocations: 0 / 0.5582 GB, free: 34.89 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003589/0.3152, allocations: 360.2 kB / 0.5585 GB, free: 34.52 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.3153, allocations: 14.62 kB / 0.5586 GB, free: 34.51 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.181e-05/0.3153, allocations: 32.38 kB / 0.5586 GB, free: 34.47 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.376e-05/0.3154, allocations: 3.281 kB / 0.5586 GB, free: 34.47 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.887e-05/0.3154, allocations: 170.7 kB / 0.5588 GB, free: 34.27 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.462e-06/0.3155, allocations: 2.188 kB / 0.5588 GB, free: 34.27 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.948e-06/0.3155, allocations: 3.281 kB / 0.5588 GB, free: 34.27 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000164/0.3156, allocations: 50.09 kB / 0.5588 GB, free: 34.23 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.3156, allocations: 3.938 kB / 0.5588 GB, free: 34.23 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.829e-06/0.3157, allocations: 3.891 kB / 0.5588 GB, free: 34.23 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.3157, allocations: 0 / 0.5588 GB, free: 34.23 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001686/0.3158, allocations: 37.45 kB / 0.5589 GB, free: 34.22 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002293/0.3161, allocations: 250.3 kB / 0.5591 GB, free: 33.95 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001218/0.3162, allocations: 43.92 kB / 0.5591 GB, free: 33.92 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.805e-05/0.3163, allocations: 24.28 kB / 0.5592 GB, free: 33.91 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000607/0.3169, allocations: 458.9 kB / 0.5596 GB, free: 33.44 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.673e-05/0.317, allocations: 38.03 kB / 0.5596 GB, free: 33.39 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.317, allocations: 0 / 0.5596 GB, free: 33.39 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003591/0.3173, allocations: 87.86 kB / 0.5597 GB, free: 33.35 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.609e-05/0.3174, allocations: 52.84 kB / 0.5598 GB, free: 33.29 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.802e-05/0.3174, allocations: 104 kB / 0.5599 GB, free: 33.19 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.584e-06/0.3174, allocations: 28.02 kB / 0.5599 GB, free: 33.16 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.2e-05/0.3174, allocations: 85.45 kB / 0.56 GB, free: 33.07 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.555e-05/0.3175, allocations: 6.344 kB / 0.56 GB, free: 33.07 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.809e-05/0.3175, allocations: 14.41 kB / 0.56 GB, free: 33.05 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.142e-05/0.3175, allocations: 317.8 kB / 0.5603 GB, free: 32.73 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.666e-05/0.3176, allocations: 18.67 kB / 0.5603 GB, free: 32.73 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.621e-05/0.3177, allocations: 23.81 kB / 0.5603 GB, free: 32.72 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001492/0.3179, allocations: 43.7 kB / 0.5604 GB, free: 32.71 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.3179, allocations: 3.938 kB / 0.5604 GB, free: 32.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002028/0.3181, allocations: 69.2 kB / 0.5605 GB, free: 32.66 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.3181, allocations: 6.062 kB / 0.5605 GB, free: 32.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.3181, allocations: 1 kB / 0.5605 GB, free: 32.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.939e-06/0.3181, allocations: 0 / 0.5605 GB, free: 32.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.867e-05/0.3182, allocations: 13.47 kB / 0.5605 GB, free: 32.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.3182, allocations: 0.7969 kB / 0.5605 GB, free: 32.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.792e-05/0.3183, allocations: 9.406 kB / 0.5605 GB, free: 32.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.3183, allocations: 1.281 kB / 0.5605 GB, free: 32.66 MB / 446.1 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 (2): * Single equations (assignments): 2 * 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 4.432e-05/0.3183, allocations: 113 kB / 0.5606 GB, free: 32.54 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.707e-05/0.3184, allocations: 1.406 kB / 0.5606 GB, free: 32.54 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002153/0.3186, allocations: 79.05 kB / 0.5607 GB, free: 32.5 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.3186, allocations: 0.7969 kB / 0.5607 GB, free: 32.5 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.3186, allocations: 1.031 kB / 0.5607 GB, free: 32.5 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.894e-06/0.3186, allocations: 0 / 0.5607 GB, free: 32.5 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001139/0.3188, allocations: 167.4 kB / 0.5608 GB, free: 32.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.3188, allocations: 0 / 0.5608 GB, free: 32.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.746e-05/0.3188, allocations: 9.641 kB / 0.5608 GB, free: 32.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.3188, allocations: 0.9375 kB / 0.5608 GB, free: 32.3 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.062e-06/0.3188, allocations: 0.8125 kB / 0.5608 GB, free: 32.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.3188, allocations: 1.859 kB / 0.5608 GB, free: 32.3 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3189, allocations: 0.9688 kB / 0.5608 GB, free: 32.3 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002128/0.3191, allocations: 171 kB / 0.561 GB, free: 32.15 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.666e-05/0.3191, allocations: 82.95 kB / 0.5611 GB, free: 32.05 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.271e-05/0.3191, allocations: 0.75 kB / 0.5611 GB, free: 32.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.626e-05/0.3192, allocations: 6.422 kB / 0.5611 GB, free: 32.05 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.394e-05/0.3192, allocations: 8.406 kB / 0.5611 GB, free: 32.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.3192, allocations: 1.828 kB / 0.5611 GB, free: 32.05 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.496e-05/0.3193, allocations: 86.02 kB / 0.5612 GB, free: 31.97 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3193, allocations: 3.938 kB / 0.5612 GB, free: 31.97 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002402/0.3195, allocations: 18.55 kB / 0.5612 GB, free: 31.96 MB / 446.1 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 (2): * Single equations (assignments): 2 * 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.0004233/0.32, allocations: 0.7116 MB / 0.5619 GB, free: 31.29 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002019/0.3202, allocations: 45.55 kB / 0.5619 GB, free: 31.28 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.3202, allocations: 0 / 0.5619 GB, free: 31.28 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.408e-05/0.3203, allocations: 16.81 kB / 0.562 GB, free: 31.28 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002853/0.3206, allocations: 10.34 kB / 0.562 GB, free: 31.28 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000356/0.3209, allocations: 142 kB / 0.5621 GB, free: 31.13 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.749e-05/0.321, allocations: 0.6772 MB / 0.5628 GB, free: 30.43 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.445e-05/0.3211, allocations: 2.75 kB / 0.5628 GB, free: 30.43 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.662e-05/0.3211, allocations: 13.34 kB / 0.5628 GB, free: 30.42 MB / 446.1 MB Notification: Performance of SimCode: time 3.7e-07/0.3211, allocations: 1.344 kB / 0.5628 GB, free: 30.42 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08182/0.4029, allocations: 1.401 MB / 0.5641 GB, free: 30.21 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001222/0.4031, allocations: 191.4 kB / 0.5643 GB, free: 29.96 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.116/2.519, allocations: 3.125 kB / 0.5643 GB, free: 29.96 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_RegNonZeroPower_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_RegNonZeroPower.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)