Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions.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.VectorFunctions,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_VectorFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_VectorFunctions",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.001402/0.001402, allocations: 102.9 kB / 15.98 MB, free: 6.344 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.001296/0.001296, allocations: 195.6 kB / 16.91 MB, free: 6.188 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.356/1.356, allocations: 222.9 MB / 240.6 MB, free: 13.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7246/0.7246, allocations: 115.3 MB / 406.1 MB, free: 6.355 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001467/0.001467, allocations: 67.89 kB / 493.2 MB, free: 0.6094 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.409/0.4105, allocations: 76.17 MB / 0.556 GB, free: 35.66 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.VectorFunctions): time 0.002394/0.4129, allocations: 1.652 MB / 0.5576 GB, free: 34.53 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006358/0.4136, allocations: 0.4958 MB / 0.5581 GB, free: 34.18 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.393e-05/0.4136, allocations: 1.281 kB / 0.5581 GB, free: 34.18 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000104/0.4137, allocations: 5.438 kB / 0.5581 GB, free: 34.18 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.71e-05/0.4138, allocations: 15.77 kB / 0.5581 GB, free: 34.17 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001978/0.414, allocations: 37.33 kB / 0.5582 GB, free: 34.15 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.845e-05/0.4141, allocations: 86.12 kB / 0.5582 GB, free: 34.11 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001306/0.4142, allocations: 36.88 kB / 0.5583 GB, free: 34.1 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.03e-05/0.4143, allocations: 35.05 kB / 0.5583 GB, free: 34.08 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.05e-05/0.4144, allocations: 49.05 kB / 0.5584 GB, free: 34.05 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.805e-05/0.4144, allocations: 6.5 kB / 0.5584 GB, free: 34.05 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.867e-05/0.4145, allocations: 11.81 kB / 0.5584 GB, free: 34.05 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.516e-05/0.4145, allocations: 20.2 kB / 0.5584 GB, free: 34.04 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.893e-05/0.4146, allocations: 37.36 kB / 0.5584 GB, free: 34.02 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001152/0.4147, allocations: 87.53 kB / 0.5585 GB, free: 33.98 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.4147, allocations: 0.6875 kB / 0.5585 GB, free: 33.98 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.4147, allocations: 0 / 0.5585 GB, free: 33.98 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.4147, allocations: 1.406 kB / 0.5585 GB, free: 33.98 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004432/0.4152, allocations: 403.9 kB / 0.5589 GB, free: 33.59 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.4152, allocations: 10.12 kB / 0.5589 GB, free: 33.59 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.197e-05/0.4152, allocations: 40.67 kB / 0.559 GB, free: 33.55 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.239e-05/0.4153, allocations: 14.53 kB / 0.559 GB, free: 33.54 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000138/0.4154, allocations: 198.7 kB / 0.5592 GB, free: 33.32 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.4154, allocations: 4.625 kB / 0.5592 GB, free: 33.32 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.732e-05/0.4155, allocations: 8.188 kB / 0.5592 GB, free: 33.32 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002367/0.4157, allocations: 110.6 kB / 0.5593 GB, free: 33.27 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.4157, allocations: 0.8906 kB / 0.5593 GB, free: 33.27 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.4157, allocations: 6.531 kB / 0.5593 GB, free: 33.26 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.4157, allocations: 2.531 kB / 0.5593 GB, free: 33.26 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002166/0.416, allocations: 98.3 kB / 0.5594 GB, free: 33.24 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004767/0.4165, allocations: 381.8 kB / 0.5597 GB, free: 32.93 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001324/0.4166, allocations: 59.77 kB / 0.5598 GB, free: 32.89 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001022/0.4167, allocations: 50.94 kB / 0.5599 GB, free: 32.88 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.554e-05/0.4168, allocations: 8.797 kB / 0.5599 GB, free: 32.87 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.59e-05/0.4168, allocations: 35.94 kB / 0.5599 GB, free: 32.83 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.052e-06/0.4168, allocations: 0 / 0.5599 GB, free: 32.83 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003949/0.4172, allocations: 159.9 kB / 0.56 GB, free: 32.77 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.253e-05/0.4172, allocations: 57.06 kB / 0.5601 GB, free: 32.7 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.378e-05/0.4173, allocations: 137.5 kB / 0.5602 GB, free: 32.59 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.085e-05/0.4173, allocations: 29.7 kB / 0.5603 GB, free: 32.56 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.129e-05/0.4173, allocations: 103.4 kB / 0.5604 GB, free: 32.46 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.153e-05/0.4174, allocations: 25.48 kB / 0.5604 GB, free: 32.44 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.605e-05/0.4174, allocations: 19.08 kB / 0.5604 GB, free: 32.42 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.602e-05/0.4175, allocations: 321.2 kB / 0.5607 GB, free: 32.11 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001007/0.4176, allocations: 42.27 kB / 0.5607 GB, free: 32.09 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.174e-05/0.4177, allocations: 45.41 kB / 0.5608 GB, free: 32.08 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002079/0.4179, allocations: 86.3 kB / 0.5609 GB, free: 32.05 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.4179, allocations: 1.906 kB / 0.5609 GB, free: 32.05 MB / 446.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002401/0.4181, allocations: 126.4 kB / 0.561 GB, free: 32 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.4182, allocations: 6.25 kB / 0.561 GB, free: 32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.4182, allocations: 0 / 0.561 GB, free: 32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.4182, allocations: 5.344 kB / 0.561 GB, free: 32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001289/0.4183, allocations: 20.38 kB / 0.561 GB, free: 31.99 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.4183, allocations: 1.922 kB / 0.561 GB, free: 31.99 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.767e-05/0.4184, allocations: 11.89 kB / 0.561 GB, free: 31.99 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.999e-05/0.4184, allocations: 4.516 kB / 0.561 GB, free: 31.99 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 (6): * Single equations (assignments): 6 * 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 6.032e-05/0.4185, allocations: 119.1 kB / 0.5612 GB, free: 31.87 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.838e-05/0.4185, allocations: 4.453 kB / 0.5612 GB, free: 31.87 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003083/0.4188, allocations: 155.2 kB / 0.5613 GB, free: 31.8 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.317e-06/0.4189, allocations: 5.125 kB / 0.5613 GB, free: 31.8 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.4189, allocations: 0 / 0.5613 GB, free: 31.8 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.4189, allocations: 2.062 kB / 0.5613 GB, free: 31.8 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000151/0.419, allocations: 199.1 kB / 0.5615 GB, free: 31.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.419, allocations: 1.281 kB / 0.5615 GB, free: 31.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.893e-05/0.4191, allocations: 22.27 kB / 0.5615 GB, free: 31.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.4191, allocations: 1.031 kB / 0.5615 GB, free: 31.59 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.4192, allocations: 6.219 kB / 0.5615 GB, free: 31.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.4192, allocations: 5.281 kB / 0.5615 GB, free: 31.58 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.4192, allocations: 1.469 kB / 0.5615 GB, free: 31.58 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002639/0.4194, allocations: 218 kB / 0.5617 GB, free: 31.43 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.271e-05/0.4195, allocations: 83.72 kB / 0.5618 GB, free: 31.33 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.748e-05/0.4195, allocations: 1.062 kB / 0.5618 GB, free: 31.33 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.98e-05/0.4196, allocations: 16.95 kB / 0.5618 GB, free: 31.32 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.764e-05/0.4197, allocations: 7.125 kB / 0.5619 GB, free: 31.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.708e-06/0.4197, allocations: 3.375 kB / 0.5619 GB, free: 31.32 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.549e-05/0.4197, allocations: 105.3 kB / 0.562 GB, free: 31.24 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4197, allocations: 3.938 kB / 0.562 GB, free: 31.24 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002242/0.42, allocations: 18.2 kB / 0.562 GB, free: 31.23 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 (6): * Single equations (assignments): 6 * 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.0004443/0.4204, allocations: 0.7573 MB / 0.5627 GB, free: 30.55 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002651/0.4207, allocations: 105.2 kB / 0.5628 GB, free: 30.53 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.4207, allocations: 6.375 kB / 0.5628 GB, free: 30.53 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001118/0.4208, allocations: 53.19 kB / 0.5629 GB, free: 30.52 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002111/0.421, allocations: 10.69 kB / 0.5629 GB, free: 30.51 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001469/0.4225, allocations: 1.617 MB / 0.5645 GB, free: 29.2 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001301/0.4227, allocations: 0.701 MB / 0.5651 GB, free: 28.5 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001065/0.4228, allocations: 14.47 kB / 0.5652 GB, free: 28.5 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.655e-05/0.4228, allocations: 31.09 kB / 0.5652 GB, free: 28.48 MB / 446.1 MB Notification: Performance of SimCode: time 2.61e-07/0.4228, allocations: 1.188 kB / 0.5652 GB, free: 28.48 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1428/0.5656, allocations: 1.818 MB / 0.567 GB, free: 28.26 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000166/0.5658, allocations: 197.9 kB / 0.5672 GB, free: 28.01 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.728/2.293, allocations: 1.203 kB / 0.5672 GB, free: 28.01 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_VectorFunctions_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_VectorFunctions.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions.pipe 2>&1)