Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_VectorFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_VectorFunctions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 1.966/1.966, allocations: 387.1 MB / 399.7 MB, free: 9.469 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009193/0.0009192, allocations: 176.9 kB / 492.3 MB, free: 0.6055 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.255/1.255, allocations: 221.3 MB / 0.7871 GB, free: 12.86 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007775/0.0007775, allocations: 87.45 kB / 0.9267 GB, free: 13.95 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.471e-05/2.471e-05, allocations: 4 kB / 1.073 GB, free: 180.2 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2204/0.2204, allocations: 142.4 MB / 1.212 GB, free: 38.4 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7127/0.9332, allocations: 149.9 MB / 1.359 GB, free: 19 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001862/0.9334, allocations: 73.02 kB / 1.359 GB, free: 19 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.005266/0.9387, allocations: 1.747 MB / 1.361 GB, free: 34.58 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.243e-06/0.9387, allocations: 0 / 1.361 GB, free: 34.58 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.158e-05/0.9387, allocations: 3.844 kB / 1.361 GB, free: 34.58 MB / 0.8386 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.0003576/0.9391, allocations: 389 kB / 1.361 GB, free: 34.21 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.9391, allocations: 7.688 kB / 1.361 GB, free: 34.21 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.917e-05/0.9392, allocations: 38.97 kB / 1.361 GB, free: 34.18 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.237e-05/0.9392, allocations: 15.58 kB / 1.361 GB, free: 34.16 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001534/0.9394, allocations: 204.3 kB / 1.361 GB, free: 33.96 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.428e-06/0.9394, allocations: 5.906 kB / 1.361 GB, free: 33.96 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.569e-05/0.9394, allocations: 8.031 kB / 1.361 GB, free: 33.96 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001687/0.9396, allocations: 90.36 kB / 1.361 GB, free: 33.93 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.9396, allocations: 4 kB / 1.361 GB, free: 33.92 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/0.9396, allocations: 0 / 1.361 GB, free: 33.92 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.9396, allocations: 3.844 kB / 1.361 GB, free: 33.92 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001071/0.9397, allocations: 66.11 kB / 1.361 GB, free: 33.92 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004901/0.9402, allocations: 379.7 kB / 1.362 GB, free: 33.64 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.661e-05/0.9403, allocations: 47.75 kB / 1.362 GB, free: 33.61 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.603e-05/0.9404, allocations: 38.06 kB / 1.362 GB, free: 33.6 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.206e-05/0.9404, allocations: 7.359 kB / 1.362 GB, free: 33.6 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.597e-05/0.9404, allocations: 35.88 kB / 1.362 GB, free: 33.56 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=6): time 1.723e-06/0.9404, allocations: 11.66 kB / 1.362 GB, free: 33.55 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.0001886/0.9406, allocations: 91.44 kB / 1.362 GB, free: 33.52 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.9e-05/0.9407, allocations: 55.28 kB / 1.362 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.598e-05/0.9407, allocations: 116.5 kB / 1.362 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.919e-06/0.9408, allocations: 29.58 kB / 1.362 GB, free: 33.33 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.757e-05/0.9408, allocations: 106.9 kB / 1.362 GB, free: 33.24 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.956e-05/0.9408, allocations: 24.98 kB / 1.362 GB, free: 33.22 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.219e-06/0.9408, allocations: 0 / 1.362 GB, free: 33.22 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 7.371e-05/0.9409, allocations: 316.2 kB / 1.363 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.042e-05/0.941, allocations: 27.91 kB / 1.363 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.563e-05/0.941, allocations: 26.55 kB / 1.363 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.565e-05/0.941, allocations: 24.27 kB / 1.363 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.9411, allocations: 0 / 1.363 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001285/0.9412, allocations: 98.25 kB / 1.363 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.9412, allocations: 9.047 kB / 1.363 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.9412, allocations: 0 / 1.363 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.9412, allocations: 0 / 1.363 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001232/0.9414, allocations: 22.17 kB / 1.363 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.9414, allocations: 4 kB / 1.363 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.856e-05/0.9415, allocations: 24.39 kB / 1.363 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.912e-05/0.9415, allocations: 4.609 kB / 1.363 GB, free: 32.86 MB / 0.8386 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 () * 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 4.722e-05/0.9415, allocations: 102.4 kB / 1.363 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.705e-05/0.9416, allocations: 12.86 kB / 1.363 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001905/0.9418, allocations: 120.8 kB / 1.363 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.9418, allocations: 7.984 kB / 1.363 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.9418, allocations: 0 / 1.363 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.9418, allocations: 0 / 1.363 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001457/0.9419, allocations: 200.6 kB / 1.363 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.9419, allocations: 0 / 1.363 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.755e-05/0.942, allocations: 28.02 kB / 1.363 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/0.9421, allocations: 0 / 1.363 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.9421, allocations: 9.438 kB / 1.363 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.9421, allocations: 3.953 kB / 1.363 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.9421, allocations: 0 / 1.363 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001478/0.9422, allocations: 197 kB / 1.364 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.063e-05/0.9423, allocations: 81.02 kB / 1.364 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.581e-05/0.9423, allocations: 5.484 kB / 1.364 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.341e-05/0.9424, allocations: 13.66 kB / 1.364 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.762e-05/0.9424, allocations: 7.234 kB / 1.364 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.09e-05/0.9425, allocations: 8.172 kB / 1.364 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.723e-05/0.9425, allocations: 103.2 kB / 1.364 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9425, allocations: 0 / 1.364 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002028/0.9427, allocations: 26.41 kB / 1.364 GB, free: 32.17 MB / 0.8386 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 () * 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.0003606/0.9431, allocations: 0.7359 MB / 1.365 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001201/0.9432, allocations: 69.2 kB / 1.365 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.9432, allocations: 11.81 kB / 1.365 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.767e-05/0.9433, allocations: 36.81 kB / 1.365 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001183/0.9434, allocations: 9.859 kB / 1.365 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003841/0.9438, allocations: 175.9 kB / 1.365 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002136/0.944, allocations: 0.7054 MB / 1.365 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 5.819e-05/0.9441, allocations: 16.89 kB / 1.366 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.179e-05/0.9441, allocations: 25.3 kB / 1.366 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of SimCode: time 2.3e-07/0.9441, allocations: 0 / 1.366 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01068/0.9548, allocations: 1.677 MB / 1.367 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001397/0.955, allocations: 163 kB / 1.367 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.357/2.312, allocations: 0 / 1.367 GB, free: 30.25 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Examples_VectorFunctions_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Examples_VectorFunctions.fmu > Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions_res.mat does not exist to compare? outputFormat=mat