Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.VectorFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_VectorFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_VectorFunctions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7889/0.7889, allocations: 128.7 MB / 143.7 MB, free: 2.34 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001673/0.001673, allocations: 188.2 kB / 173.8 MB, free: 6.121 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.744/1.744, allocations: 205.4 MB / 409 MB, free: 10.51 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009087/0.0009089, allocations: 94.73 kB / 486.5 MB, free: 13.02 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003436/0.0003435, allocations: 15.09 kB / 0.5604 GB, free: 97.47 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1559/0.1563, allocations: 76.77 MB / 0.6354 GB, free: 30.48 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1337/0.2901, allocations: 103.4 MB / 0.7364 GB, free: 6.926 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002863/0.2904, allocations: 79.95 kB / 0.7365 GB, free: 6.848 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.005714/0.2961, allocations: 1.713 MB / 0.7381 GB, free: 5.121 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.505e-06/0.2962, allocations: 4 kB / 0.7381 GB, free: 5.117 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.352e-05/0.2962, allocations: 3.938 kB / 0.7382 GB, free: 5.113 MB / 0.5105 GB 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.0006053/0.2969, allocations: 410.8 kB / 0.7385 GB, free: 4.664 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.321e-05/0.2969, allocations: 12.03 kB / 0.7386 GB, free: 4.652 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.63e-05/0.297, allocations: 38.52 kB / 0.7386 GB, free: 4.605 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.35e-05/0.297, allocations: 11.91 kB / 0.7386 GB, free: 4.594 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002275/0.2973, allocations: 190.9 kB / 0.7388 GB, free: 4.367 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.2973, allocations: 7.938 kB / 0.7388 GB, free: 4.359 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.2973, allocations: 8 kB / 0.7388 GB, free: 4.352 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002953/0.2976, allocations: 113.6 kB / 0.7389 GB, free: 4.234 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.2976, allocations: 0 / 0.7389 GB, free: 4.234 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.713e-05/0.2977, allocations: 4 kB / 0.7389 GB, free: 4.23 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.2977, allocations: 3.953 kB / 0.7389 GB, free: 4.227 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002475/0.2979, allocations: 95.94 kB / 0.739 GB, free: 4.133 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006649/0.2986, allocations: 392.5 kB / 0.7394 GB, free: 3.699 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001549/0.2988, allocations: 66.55 kB / 0.7394 GB, free: 3.625 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 4.656e-05/0.2988, allocations: 3.984 kB / 0.7394 GB, free: 3.621 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.974e-05/0.2989, allocations: 34.56 kB / 0.7395 GB, free: 3.578 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=6): time 1.713e-06/0.2989, allocations: 3.938 kB / 0.7395 GB, free: 3.574 MB / 0.5105 GB Notification: Performance of matching and sorting (n=6): time 0.0004855/0.2994, allocations: 177.8 kB / 0.7397 GB, free: 3.395 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.635e-05/0.2994, allocations: 55.41 kB / 0.7397 GB, free: 3.328 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001164/0.2995, allocations: 131.4 kB / 0.7398 GB, free: 3.191 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.2996, allocations: 25.7 kB / 0.7399 GB, free: 3.16 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.733e-05/0.2997, allocations: 104.2 kB / 0.74 GB, free: 3.055 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.001e-05/0.2997, allocations: 19.8 kB / 0.74 GB, free: 3.035 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.372e-06/0.2997, allocations: 0 / 0.74 GB, free: 3.035 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.2998, allocations: 318.8 kB / 0.7403 GB, free: 2.715 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001171/0.3, allocations: 43.97 kB / 0.7403 GB, free: 2.672 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001135/0.3001, allocations: 50.19 kB / 0.7404 GB, free: 2.625 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001194/0.3002, allocations: 43.98 kB / 0.7404 GB, free: 2.582 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.613e-06/0.3002, allocations: 3.984 kB / 0.7404 GB, free: 2.578 MB / 0.5105 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002971/0.3005, allocations: 141.4 kB / 0.7406 GB, free: 2.434 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/0.3006, allocations: 4 kB / 0.7406 GB, free: 2.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.3006, allocations: 0 / 0.7406 GB, free: 2.43 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.3006, allocations: 4 kB / 0.7406 GB, free: 2.426 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000147/0.3008, allocations: 23.98 kB / 0.7406 GB, free: 2.402 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.3008, allocations: 3.984 kB / 0.7406 GB, free: 2.398 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.567e-05/0.3009, allocations: 11.94 kB / 0.7406 GB, free: 2.387 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.63e-05/0.3009, allocations: 7.984 kB / 0.7406 GB, free: 2.379 MB / 0.5105 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001057/0.301, allocations: 117.8 kB / 0.7407 GB, free: 2.254 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.591e-05/0.301, allocations: 11.86 kB / 0.7407 GB, free: 2.242 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000374/0.3014, allocations: 158.2 kB / 0.7409 GB, free: 2.082 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.3014, allocations: 0 / 0.7409 GB, free: 2.082 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.3015, allocations: 7.922 kB / 0.7409 GB, free: 2.074 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.3015, allocations: 0 / 0.7409 GB, free: 2.074 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002213/0.3017, allocations: 205.6 kB / 0.7411 GB, free: 1.824 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.3017, allocations: 0 / 0.7411 GB, free: 1.824 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001069/0.3018, allocations: 27.97 kB / 0.7411 GB, free: 1.797 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.3018, allocations: 3.953 kB / 0.7411 GB, free: 1.793 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.3018, allocations: 4 kB / 0.7411 GB, free: 1.789 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.654e-06/0.3019, allocations: 0 / 0.7411 GB, free: 1.789 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3019, allocations: 0 / 0.7411 GB, free: 1.789 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003302/0.3022, allocations: 235.6 kB / 0.7413 GB, free: 1.543 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.065e-05/0.3023, allocations: 89.02 kB / 0.7414 GB, free: 1.438 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.929e-05/0.3023, allocations: 3.953 kB / 0.7414 GB, free: 1.434 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.957e-05/0.3024, allocations: 11.98 kB / 0.7414 GB, free: 1.422 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.103e-05/0.3025, allocations: 15.98 kB / 0.7415 GB, free: 1.406 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.199e-05/0.3025, allocations: 4 kB / 0.7415 GB, free: 1.402 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 6.302e-05/0.3025, allocations: 96.36 kB / 0.7416 GB, free: 1.309 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3025, allocations: 3.938 kB / 0.7416 GB, free: 1.305 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002359/0.3028, allocations: 19.94 kB / 0.7416 GB, free: 1.285 MB / 0.5105 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006534/0.3034, allocations: 0.7785 MB / 0.7423 GB, free: 492 kB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002831/0.3037, allocations: 111.9 kB / 0.7424 GB, free: 380 kB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3038, allocations: 0 / 0.7424 GB, free: 380 kB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001256/0.3039, allocations: 59.91 kB / 0.7425 GB, free: 320 kB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001577/0.3041, allocations: 11.95 kB / 0.7425 GB, free: 308 kB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2786/0.5827, allocations: 0.7068 MB / 0.7432 GB, free: 109.2 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001394/0.5828, allocations: 0.7034 MB / 0.7439 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 8.681e-05/0.5829, allocations: 14.44 kB / 0.7439 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.191e-05/0.583, allocations: 27.64 kB / 0.7439 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of SimCode: time 1.202e-06/0.583, allocations: 0 / 0.7439 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01293/0.596, allocations: 1.693 MB / 0.7456 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001659/0.5962, allocations: 185.7 kB / 0.7458 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.539/2.135, allocations: 0 / 0.7458 GB, free: 108.1 MB / 0.5105 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.VectorFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_VectorFunctions_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_VectorFunctions.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.VectorFunctions.pipe 2>&1)