Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.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.RegStep,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.RegStep,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegStep",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.001127/0.001127, allocations: 103.8 kB / 16.27 MB, free: 6.414 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.001119/0.001119, allocations: 188.9 kB / 17.2 MB, free: 5.949 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.332/1.332, 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.7278/0.7278, allocations: 122.9 MB / 413.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001472/0.001472, allocations: 67.89 kB / 0.4912 GB, free: 7.336 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3508/0.3523, allocations: 77.92 MB / 0.5673 GB, free: 32.71 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegStep): time 0.001771/0.3541, allocations: 0.5684 MB / 0.5679 GB, free: 32.36 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002388/0.3544, allocations: 51.88 kB / 0.5679 GB, free: 32.33 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.533e-05/0.3544, allocations: 2.969 kB / 0.5679 GB, free: 32.33 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.475e-05/0.3544, allocations: 0 / 0.5679 GB, free: 32.33 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.37e-06/0.3545, allocations: 0 / 0.5679 GB, free: 32.33 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002221/0.3547, allocations: 8.141 kB / 0.5679 GB, free: 32.33 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.396e-05/0.3547, allocations: 2.234 kB / 0.5679 GB, free: 32.33 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.285e-05/0.3548, allocations: 2.422 kB / 0.5679 GB, free: 32.33 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.696e-05/0.3548, allocations: 1.125 kB / 0.5679 GB, free: 32.33 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.385e-05/0.3548, allocations: 10.52 kB / 0.5679 GB, free: 32.32 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.042e-05/0.3549, allocations: 0 / 0.5679 GB, free: 32.32 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001056/0.355, allocations: 26.41 kB / 0.568 GB, free: 32.31 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.548e-06/0.355, allocations: 0 / 0.568 GB, free: 32.31 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.458e-05/0.355, allocations: 3.938 kB / 0.568 GB, free: 32.31 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 9.754e-05/0.3551, allocations: 17.67 kB / 0.568 GB, free: 32.3 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.3551, allocations: 4 kB / 0.568 GB, free: 32.3 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3551, allocations: 0 / 0.568 GB, free: 32.3 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.3551, allocations: 3.938 kB / 0.568 GB, free: 32.3 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002226/0.3554, allocations: 312.3 kB / 0.5683 GB, free: 31.95 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.3554, allocations: 10.53 kB / 0.5683 GB, free: 31.95 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.887e-05/0.3554, allocations: 31.55 kB / 0.5683 GB, free: 31.91 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002441/0.3557, allocations: 18.64 kB / 0.5683 GB, free: 31.91 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.962e-05/0.3557, allocations: 161.7 kB / 0.5685 GB, free: 31.71 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.448e-06/0.3558, allocations: 0.9375 kB / 0.5685 GB, free: 31.71 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.693e-06/0.3558, allocations: 2.469 kB / 0.5685 GB, free: 31.71 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001231/0.3559, allocations: 35.34 kB / 0.5685 GB, free: 31.68 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.605e-06/0.3559, allocations: 4.906 kB / 0.5685 GB, free: 31.68 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.3559, allocations: 0.5156 kB / 0.5685 GB, free: 31.68 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.3559, allocations: 1.656 kB / 0.5685 GB, free: 31.68 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.612e-05/0.356, allocations: 19.38 kB / 0.5686 GB, free: 31.67 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.825e-05/0.3561, allocations: 143.9 kB / 0.5687 GB, free: 31.48 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.564e-05/0.3562, allocations: 21.75 kB / 0.5687 GB, free: 31.46 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.772e-05/0.3562, allocations: 10.42 kB / 0.5687 GB, free: 31.45 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.796e-05/0.3563, allocations: 2.266 kB / 0.5687 GB, free: 31.45 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.232e-05/0.3563, allocations: 36.16 kB / 0.5688 GB, free: 31.41 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.3563, allocations: 2.562 kB / 0.5688 GB, free: 31.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002177/0.3565, allocations: 50.7 kB / 0.5688 GB, free: 31.37 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.407e-05/0.3565, allocations: 53.19 kB / 0.5689 GB, free: 31.31 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.825e-05/0.3566, allocations: 91.31 kB / 0.5689 GB, free: 31.21 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.983e-06/0.3566, allocations: 25.7 kB / 0.569 GB, free: 31.18 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.198e-05/0.3566, allocations: 82.36 kB / 0.5691 GB, free: 31.1 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.643e-05/0.3566, allocations: 3.906 kB / 0.5691 GB, free: 31.09 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.743e-05/0.3567, allocations: 17.25 kB / 0.5691 GB, free: 31.07 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.788e-05/0.3567, allocations: 314 kB / 0.5694 GB, free: 30.76 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.851e-05/0.3568, allocations: 8.891 kB / 0.5694 GB, free: 30.76 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.971e-05/0.3568, allocations: 5.812 kB / 0.5694 GB, free: 30.76 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.589e-05/0.3569, allocations: 16.05 kB / 0.5694 GB, free: 30.75 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.3569, allocations: 0 / 0.5694 GB, free: 30.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001136/0.357, allocations: 45.83 kB / 0.5694 GB, free: 30.71 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.357, allocations: 5.531 kB / 0.5694 GB, free: 30.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.3571, allocations: 5.469 kB / 0.5695 GB, free: 30.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.3571, allocations: 1.25 kB / 0.5695 GB, free: 30.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.889e-05/0.3572, allocations: 4.906 kB / 0.5695 GB, free: 30.71 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/0.3572, allocations: 0.8438 kB / 0.5695 GB, free: 30.71 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.516e-05/0.3572, allocations: 3.125 kB / 0.5695 GB, free: 30.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.692e-06/0.3572, allocations: 1.062 kB / 0.5695 GB, free: 30.71 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 (1): * Single equations (assignments): 1 * 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 5.23e-05/0.3573, allocations: 114.1 kB / 0.5696 GB, free: 30.59 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.815e-06/0.3573, allocations: 1.438 kB / 0.5696 GB, free: 30.59 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.808e-05/0.3573, allocations: 7.906 kB / 0.5696 GB, free: 30.59 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.3573, allocations: 8.484 kB / 0.5696 GB, free: 30.58 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.3573, allocations: 0.9375 kB / 0.5696 GB, free: 30.58 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.3573, allocations: 0.5312 kB / 0.5696 GB, free: 30.58 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.331e-05/0.3574, allocations: 147.2 kB / 0.5697 GB, free: 30.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.3574, allocations: 0 / 0.5697 GB, free: 30.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.185e-05/0.3575, allocations: 4.766 kB / 0.5697 GB, free: 30.39 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.3575, allocations: 5.031 kB / 0.5697 GB, free: 30.39 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.3575, allocations: 5.406 kB / 0.5697 GB, free: 30.39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.3575, allocations: 2.078 kB / 0.5697 GB, free: 30.39 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.3575, allocations: 3.938 kB / 0.5698 GB, free: 30.38 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001425/0.3577, allocations: 67.3 kB / 0.5698 GB, free: 30.32 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.761e-05/0.3577, allocations: 80.11 kB / 0.5699 GB, free: 30.22 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.504e-05/0.3577, allocations: 6.062 kB / 0.5699 GB, free: 30.22 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.289e-05/0.3578, allocations: 2.766 kB / 0.5699 GB, free: 30.22 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.841e-05/0.3578, allocations: 1.391 kB / 0.5699 GB, free: 30.22 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.3578, allocations: 1.406 kB / 0.5699 GB, free: 30.22 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.891e-05/0.3578, allocations: 76.84 kB / 0.57 GB, free: 30.14 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.3578, allocations: 0 / 0.57 GB, free: 30.14 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001852/0.358, allocations: 2.469 kB / 0.57 GB, free: 30.14 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 (1): * Single equations (assignments): 1 * 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.0003296/0.3583, allocations: 0.606 MB / 0.5706 GB, free: 29.54 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001481/0.3585, allocations: 18.44 kB / 0.5706 GB, free: 29.54 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3585, allocations: 3.938 kB / 0.5706 GB, free: 29.54 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.476e-05/0.3586, allocations: 6.922 kB / 0.5706 GB, free: 29.54 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001396/0.3587, allocations: 1.062 kB / 0.5706 GB, free: 29.54 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003042/0.359, allocations: 109 kB / 0.5707 GB, free: 29.41 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001184/0.3591, allocations: 0.6717 MB / 0.5714 GB, free: 28.71 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.456e-05/0.3592, allocations: 4.297 kB / 0.5714 GB, free: 28.71 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.189e-05/0.3592, allocations: 12.59 kB / 0.5714 GB, free: 28.7 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3592, allocations: 0 / 0.5714 GB, free: 28.7 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0159/0.3751, allocations: 0.916 MB / 0.5723 GB, free: 28.38 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.27/7.645, allocations: 10.33 kB / 0.5723 GB, free: 28.38 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegStep_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegStep.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1)