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: 104.9 kB / 16.27 MB, free: 5.93 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.001364/0.001364, allocations: 187.4 kB / 17.2 MB, free: 5.574 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.359/1.359, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7384/0.7384, allocations: 122.9 MB / 413.9 MB, free: 15.85 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 71.88 kB / 0.4912 GB, free: 7.355 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3021/0.3035, allocations: 77.93 MB / 0.5673 GB, free: 32.52 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.VectorFunctions): time 0.002466/0.306, allocations: 1.575 MB / 0.5688 GB, free: 31.43 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006847/0.3067, allocations: 0.5086 MB / 0.5693 GB, free: 31.07 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.866e-05/0.3067, allocations: 1.094 kB / 0.5693 GB, free: 31.07 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 9.939e-05/0.3068, allocations: 11 kB / 0.5693 GB, free: 31.06 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.377e-05/0.3069, allocations: 17.25 kB / 0.5693 GB, free: 31.05 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002144/0.3071, allocations: 38.42 kB / 0.5694 GB, free: 31.03 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.881e-05/0.3072, allocations: 86.8 kB / 0.5695 GB, free: 30.99 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000131/0.3074, allocations: 42.11 kB / 0.5695 GB, free: 30.97 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.263e-05/0.3075, allocations: 36.62 kB / 0.5695 GB, free: 30.96 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.373e-05/0.3075, allocations: 45.39 kB / 0.5696 GB, free: 30.93 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.892e-05/0.3076, allocations: 7.094 kB / 0.5696 GB, free: 30.93 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.197e-05/0.3076, allocations: 14.09 kB / 0.5696 GB, free: 30.93 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.751e-05/0.3077, allocations: 25.34 kB / 0.5696 GB, free: 30.92 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.033e-05/0.3077, allocations: 37 kB / 0.5697 GB, free: 30.89 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001212/0.3078, allocations: 86 kB / 0.5697 GB, free: 30.86 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.3078, allocations: 0 / 0.5697 GB, free: 30.86 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3079, allocations: 0 / 0.5697 GB, free: 30.86 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.3079, allocations: 1.156 kB / 0.5697 GB, free: 30.86 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.0003922/0.3083, allocations: 403.2 kB / 0.5701 GB, free: 30.46 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.216e-05/0.3083, allocations: 14.47 kB / 0.5701 GB, free: 30.46 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.777e-05/0.3083, allocations: 42.47 kB / 0.5702 GB, free: 30.41 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.969e-05/0.3084, allocations: 10.72 kB / 0.5702 GB, free: 30.41 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001154/0.3085, allocations: 199.4 kB / 0.5704 GB, free: 30.2 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.397e-06/0.3085, allocations: 2.531 kB / 0.5704 GB, free: 30.2 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.523e-05/0.3085, allocations: 8.875 kB / 0.5704 GB, free: 30.19 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000227/0.3088, allocations: 106.8 kB / 0.5705 GB, free: 30.14 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.3088, allocations: 0 / 0.5705 GB, free: 30.14 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.3088, allocations: 5.875 kB / 0.5705 GB, free: 30.14 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.3088, allocations: 5.312 kB / 0.5705 GB, free: 30.13 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002172/0.309, allocations: 98.38 kB / 0.5706 GB, free: 30.11 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004556/0.3095, allocations: 376.5 kB / 0.571 GB, free: 29.8 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001339/0.3096, allocations: 57.92 kB / 0.571 GB, free: 29.77 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001166/0.3098, allocations: 49.27 kB / 0.5711 GB, free: 29.75 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.008e-05/0.3098, allocations: 4.531 kB / 0.5711 GB, free: 29.75 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.659e-05/0.3098, allocations: 33.02 kB / 0.5711 GB, free: 29.71 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.042e-06/0.3098, allocations: 0 / 0.5711 GB, free: 29.71 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004233/0.3103, allocations: 171.5 kB / 0.5713 GB, free: 29.64 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.098e-05/0.3103, allocations: 57.38 kB / 0.5713 GB, free: 29.58 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.014e-05/0.3104, allocations: 130.4 kB / 0.5714 GB, free: 29.47 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.578e-06/0.3104, allocations: 26.89 kB / 0.5715 GB, free: 29.44 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.784e-05/0.3104, allocations: 109.9 kB / 0.5716 GB, free: 29.34 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.424e-05/0.3105, allocations: 28.14 kB / 0.5716 GB, free: 29.32 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.751e-05/0.3105, allocations: 21.78 kB / 0.5716 GB, free: 29.3 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.754e-05/0.3106, allocations: 318.4 kB / 0.5719 GB, free: 28.98 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001016/0.3107, allocations: 41.08 kB / 0.572 GB, free: 28.97 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.486e-05/0.3108, allocations: 45.48 kB / 0.572 GB, free: 28.96 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002035/0.311, allocations: 87.28 kB / 0.5721 GB, free: 28.93 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.311, allocations: 1.438 kB / 0.5721 GB, free: 28.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002405/0.3112, allocations: 133.1 kB / 0.5722 GB, free: 28.87 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.3112, allocations: 5.859 kB / 0.5722 GB, free: 28.87 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.3113, allocations: 0 / 0.5722 GB, free: 28.87 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.3113, allocations: 6.641 kB / 0.5722 GB, free: 28.87 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/0.3114, allocations: 18.55 kB / 0.5723 GB, free: 28.87 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.3114, allocations: 1.281 kB / 0.5723 GB, free: 28.87 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.679e-05/0.3115, allocations: 7.5 kB / 0.5723 GB, free: 28.87 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.965e-05/0.3115, allocations: 3.766 kB / 0.5723 GB, free: 28.87 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 5.63e-05/0.3116, allocations: 118.5 kB / 0.5724 GB, free: 28.75 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.986e-05/0.3116, allocations: 11.72 kB / 0.5724 GB, free: 28.74 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003104/0.3119, allocations: 147.6 kB / 0.5725 GB, free: 28.68 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.3119, allocations: 6.094 kB / 0.5725 GB, free: 28.67 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.3119, allocations: 1.812 kB / 0.5725 GB, free: 28.67 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.312, allocations: 0.6094 kB / 0.5725 GB, free: 28.67 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001554/0.3121, allocations: 203.2 kB / 0.5727 GB, free: 28.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3121, allocations: 1.688 kB / 0.5727 GB, free: 28.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.573e-05/0.3122, allocations: 18.66 kB / 0.5727 GB, free: 28.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.3122, allocations: 0 / 0.5727 GB, free: 28.46 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-06/0.3122, allocations: 4.281 kB / 0.5728 GB, free: 28.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.3123, allocations: 5.188 kB / 0.5728 GB, free: 28.46 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.3123, allocations: 0 / 0.5728 GB, free: 28.46 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002632/0.3125, allocations: 224.8 kB / 0.573 GB, free: 28.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.211e-05/0.3126, allocations: 84.19 kB / 0.5731 GB, free: 28.2 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.807e-05/0.3126, allocations: 4.891 kB / 0.5731 GB, free: 28.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.352e-05/0.3127, allocations: 14.94 kB / 0.5731 GB, free: 28.2 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.732e-05/0.3127, allocations: 11.14 kB / 0.5731 GB, free: 28.19 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.267e-06/0.3127, allocations: 2.344 kB / 0.5731 GB, free: 28.19 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.157e-05/0.3128, allocations: 104.7 kB / 0.5732 GB, free: 28.11 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3128, allocations: 1.562 kB / 0.5732 GB, free: 28.11 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002218/0.313, allocations: 20.62 kB / 0.5732 GB, free: 28.1 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.0004219/0.3134, allocations: 0.762 MB / 0.5739 GB, free: 27.42 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002573/0.3137, allocations: 109.1 kB / 0.5741 GB, free: 27.39 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.3137, allocations: 0.5625 kB / 0.5741 GB, free: 27.39 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001209/0.3139, allocations: 54.25 kB / 0.5741 GB, free: 27.38 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002023/0.3141, allocations: 10.22 kB / 0.5741 GB, free: 27.37 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001351/0.3154, allocations: 1.578 MB / 0.5757 GB, free: 26.1 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001057/0.3155, allocations: 0.6986 MB / 0.5763 GB, free: 25.41 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.458e-05/0.3156, allocations: 21.17 kB / 0.5764 GB, free: 25.4 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.206e-05/0.3157, allocations: 30.84 kB / 0.5764 GB, free: 25.38 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3157, allocations: 0 / 0.5764 GB, free: 25.38 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.543/0.8587, allocations: 1.958 MB / 0.5783 GB, free: 25.02 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.15/14.01, allocations: 15.62 kB / 0.5783 GB, free: 25 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)