Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_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.001078/0.001079, allocations: 100.8 kB / 16.27 MB, free: 6.41 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.001191/0.001191, allocations: 184.6 kB / 17.19 MB, free: 5.953 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.349/1.349, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7537/0.7537, allocations: 122.9 MB / 413.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002413/0.002413, allocations: 63.91 kB / 0.4912 GB, free: 7.367 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3661/0.3686, allocations: 77.92 MB / 0.5673 GB, free: 32.75 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001917/0.3705, allocations: 0.5931 MB / 0.5679 GB, free: 32.38 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006092/0.3711, allocations: 340.5 kB / 0.5682 GB, free: 32.16 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.271e-05/0.3712, allocations: 0 / 0.5682 GB, free: 32.16 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.384e-05/0.3712, allocations: 1.125 kB / 0.5682 GB, free: 32.16 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 1.67e-05/0.3712, allocations: 0 / 0.5682 GB, free: 32.16 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004497/0.3717, allocations: 125.2 kB / 0.5683 GB, free: 32.11 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.604e-05/0.3717, allocations: 9.719 kB / 0.5683 GB, free: 32.11 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.398e-05/0.3718, allocations: 4.062 kB / 0.5683 GB, free: 32.11 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.693e-05/0.3718, allocations: 7.359 kB / 0.5683 GB, free: 32.1 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.42e-05/0.3718, allocations: 3.078 kB / 0.5683 GB, free: 32.1 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.195e-05/0.3719, allocations: 2.125 kB / 0.5683 GB, free: 32.1 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003931/0.3723, allocations: 272.6 kB / 0.5686 GB, free: 32.04 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.175e-05/0.3723, allocations: 1.375 kB / 0.5686 GB, free: 32.04 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.313e-05/0.3723, allocations: 10.61 kB / 0.5686 GB, free: 32.03 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001935/0.3725, allocations: 92.5 kB / 0.5687 GB, free: 32 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.3725, allocations: 4 kB / 0.5687 GB, free: 32 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3725, allocations: 0 / 0.5687 GB, free: 32 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.3725, allocations: 1.969 kB / 0.5687 GB, free: 32 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003351/0.3729, allocations: 337.6 kB / 0.569 GB, free: 31.63 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.3729, allocations: 9.844 kB / 0.569 GB, free: 31.63 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.494e-05/0.373, allocations: 36.19 kB / 0.5691 GB, free: 31.59 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.545e-05/0.373, allocations: 6.094 kB / 0.5691 GB, free: 31.59 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.224e-05/0.3731, allocations: 170.4 kB / 0.5692 GB, free: 31.39 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.127e-05/0.3731, allocations: 1.156 kB / 0.5692 GB, free: 31.39 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.912e-05/0.3731, allocations: 6.438 kB / 0.5693 GB, free: 31.38 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001003/0.3733, allocations: 33.58 kB / 0.5693 GB, free: 31.35 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.617e-06/0.3733, allocations: 5.062 kB / 0.5693 GB, free: 31.35 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.455e-06/0.3733, allocations: 0 / 0.5693 GB, free: 31.35 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.3733, allocations: 2.078 kB / 0.5693 GB, free: 31.35 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.213e-05/0.3733, allocations: 8.781 kB / 0.5693 GB, free: 31.34 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001192/0.3734, allocations: 147.6 kB / 0.5694 GB, free: 31.16 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.388e-05/0.3735, allocations: 25.12 kB / 0.5695 GB, free: 31.13 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.708e-05/0.3735, allocations: 10.81 kB / 0.5695 GB, free: 31.12 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006497/0.3742, allocations: 458.6 kB / 0.5699 GB, free: 30.65 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.987e-05/0.3742, allocations: 33.88 kB / 0.5699 GB, free: 30.61 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.362e-06/0.3742, allocations: 0 / 0.5699 GB, free: 30.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.000429/0.3746, allocations: 258.8 kB / 0.5702 GB, free: 30.34 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.268e-05/0.3747, allocations: 51.41 kB / 0.5702 GB, free: 30.28 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.288e-05/0.3747, allocations: 98.67 kB / 0.5703 GB, free: 30.18 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.197e-06/0.3747, allocations: 27.95 kB / 0.5704 GB, free: 30.15 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.551e-05/0.3748, allocations: 80.98 kB / 0.5704 GB, free: 30.07 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.087e-05/0.3748, allocations: 14.23 kB / 0.5705 GB, free: 30.05 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.874e-05/0.3748, allocations: 19.61 kB / 0.5705 GB, free: 30.04 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.503e-05/0.3749, allocations: 312.8 kB / 0.5708 GB, free: 29.72 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.005e-05/0.3749, allocations: 9.891 kB / 0.5708 GB, free: 29.72 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.586e-05/0.3749, allocations: 21.27 kB / 0.5708 GB, free: 29.7 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.139e-05/0.375, allocations: 27.53 kB / 0.5708 GB, free: 29.68 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.375, allocations: 5.438 kB / 0.5708 GB, free: 29.67 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.892e-05/0.3751, allocations: 49.3 kB / 0.5709 GB, free: 29.64 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.3751, allocations: 13.3 kB / 0.5709 GB, free: 29.63 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.3751, allocations: 1.906 kB / 0.5709 GB, free: 29.63 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.3751, allocations: 1.156 kB / 0.5709 GB, free: 29.63 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.394e-05/0.3752, allocations: 8.453 kB / 0.5709 GB, free: 29.63 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.3752, allocations: 1.219 kB / 0.5709 GB, free: 29.63 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.862e-05/0.3752, allocations: 5.156 kB / 0.5709 GB, free: 29.62 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.3752, allocations: 2.406 kB / 0.5709 GB, free: 29.62 MB / 446.1 MB 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 4.366e-05/0.3753, allocations: 112.4 kB / 0.571 GB, free: 29.51 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.486e-05/0.3753, allocations: 10.86 kB / 0.571 GB, free: 29.5 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001092/0.3754, allocations: 59.8 kB / 0.5711 GB, free: 29.45 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.3754, allocations: 1.094 kB / 0.5711 GB, free: 29.45 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.3754, allocations: 1.281 kB / 0.5711 GB, free: 29.45 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.3755, allocations: 1.594 kB / 0.5711 GB, free: 29.45 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.708e-05/0.3755, allocations: 148.4 kB / 0.5712 GB, free: 29.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.3755, allocations: 5.625 kB / 0.5712 GB, free: 29.26 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.066e-05/0.3756, allocations: 5.406 kB / 0.5712 GB, free: 29.26 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.3756, allocations: 6.75 kB / 0.5712 GB, free: 29.26 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.68e-06/0.3756, allocations: 0 / 0.5712 GB, free: 29.26 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.3756, allocations: 1.125 kB / 0.5712 GB, free: 29.26 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.3756, allocations: 2.141 kB / 0.5713 GB, free: 29.26 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001256/0.3758, allocations: 75.62 kB / 0.5713 GB, free: 29.19 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.58e-05/0.3758, allocations: 83.55 kB / 0.5714 GB, free: 29.09 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.227e-05/0.3758, allocations: 1.203 kB / 0.5714 GB, free: 29.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.717e-05/0.3758, allocations: 8.203 kB / 0.5714 GB, free: 29.09 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.472e-05/0.3759, allocations: 1.656 kB / 0.5714 GB, free: 29.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.58e-06/0.3759, allocations: 6.141 kB / 0.5714 GB, free: 29.08 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.869e-05/0.3759, allocations: 77.25 kB / 0.5715 GB, free: 29.01 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3759, allocations: 1.781 kB / 0.5715 GB, free: 29.01 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002077/0.3761, allocations: 20.66 kB / 0.5715 GB, free: 29.01 MB / 446.1 MB 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.0003644/0.3765, allocations: 0.6391 MB / 0.5721 GB, free: 28.4 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 8.273e-05/0.3766, allocations: 19.02 kB / 0.5722 GB, free: 28.39 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3766, allocations: 0 / 0.5722 GB, free: 28.39 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.73e-05/0.3766, allocations: 12.84 kB / 0.5722 GB, free: 28.39 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000138/0.3768, allocations: 3.469 kB / 0.5722 GB, free: 28.39 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006915/0.3774, allocations: 1.127 MB / 0.5733 GB, free: 27.27 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.463e-05/0.3776, allocations: 0.6815 MB / 0.5739 GB, free: 26.57 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.858e-05/0.3776, allocations: 7.562 kB / 0.5739 GB, free: 26.57 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.477e-05/0.3776, allocations: 14.94 kB / 0.574 GB, free: 26.55 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3776, allocations: 4.812 kB / 0.574 GB, free: 26.55 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01976/0.3974, allocations: 1.711 MB / 0.5756 GB, free: 26.26 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.32/7.717, allocations: 10.62 kB / 0.5756 GB, free: 26.25 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1)