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/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001036/0.001036, allocations: 86.48 kB / 15.06 MB, free: 1.09 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.001408/0.001408, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.484/1.484, allocations: 223.3 MB / 240 MB, free: 5.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.404/2.404, allocations: 390.4 MB / 0.6655 GB, free: 2.891 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003701/0.0003702, allocations: 12 kB / 0.8149 GB, free: 14.11 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8964/0.8968, allocations: 142.3 MB / 0.9538 GB, free: 8.273 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.002562/0.8994, allocations: 1.288 MB / 0.9551 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009513/0.9004, allocations: 487.5 kB / 0.9556 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.417e-05/0.9005, allocations: 1.156 kB / 0.9556 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001165/0.9006, allocations: 7.938 kB / 0.9556 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.901e-05/0.9007, allocations: 18.06 kB / 0.9556 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002586/0.901, allocations: 27.3 kB / 0.9556 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001632/0.9011, allocations: 76.94 kB / 0.9557 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002288/0.9014, allocations: 30.25 kB / 0.9557 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001443/0.9015, allocations: 29.48 kB / 0.9557 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001182/0.9017, allocations: 33.73 kB / 0.9558 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.055e-05/0.9017, allocations: 1.469 kB / 0.9558 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.106e-05/0.9018, allocations: 5.719 kB / 0.9558 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.591e-05/0.9018, allocations: 13.55 kB / 0.9558 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.597e-05/0.9019, allocations: 37.17 kB / 0.9558 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001733/0.9021, allocations: 65.08 kB / 0.9559 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.546e-06/0.9021, allocations: 0 / 0.9559 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.096e-06/0.9021, allocations: 3.938 kB / 0.9559 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.515e-06/0.9021, allocations: 0 / 0.9559 GB, free: 6.637 MB / 0.7169 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.000685/0.9028, allocations: 396.6 kB / 0.9563 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.264e-05/0.9029, allocations: 9.781 kB / 0.9563 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.49e-05/0.9029, allocations: 40.47 kB / 0.9563 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.135e-05/0.903, allocations: 17.36 kB / 0.9563 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002173/0.9032, allocations: 189.4 kB / 0.9565 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.808e-05/0.9032, allocations: 6.25 kB / 0.9565 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.383e-05/0.9033, allocations: 8.766 kB / 0.9565 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000336/0.9036, allocations: 114.1 kB / 0.9566 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.9036, allocations: 0 / 0.9566 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.727e-05/0.9037, allocations: 1.031 kB / 0.9566 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/0.9037, allocations: 5.062 kB / 0.9567 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002925/0.904, allocations: 114.1 kB / 0.9568 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007458/0.9047, allocations: 393.8 kB / 0.9571 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001872/0.9049, allocations: 72.36 kB / 0.9572 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001458/0.9051, allocations: 55.48 kB / 0.9573 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.459e-05/0.9052, allocations: 2.094 kB / 0.9573 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.421e-05/0.9052, allocations: 31.56 kB / 0.9573 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.814e-06/0.9052, allocations: 0.875 kB / 0.9573 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0006138/0.9058, allocations: 184 kB / 0.9575 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.048e-05/0.9059, allocations: 56.56 kB / 0.9575 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001566/0.906, allocations: 137.4 kB / 0.9577 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.409e-05/0.9061, allocations: 26.77 kB / 0.9577 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.83e-05/0.9061, allocations: 109.2 kB / 0.9578 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.972e-05/0.9062, allocations: 10.16 kB / 0.9578 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.322e-06/0.9062, allocations: 0 / 0.9578 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.298e-05/0.9063, allocations: 321.1 kB / 0.9581 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001187/0.9064, allocations: 47.5 kB / 0.9581 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001059/0.9065, allocations: 44.19 kB / 0.9582 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001236/0.9067, allocations: 49.5 kB / 0.9582 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.9067, allocations: 7.938 kB / 0.9582 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003068/0.907, allocations: 136.8 kB / 0.9584 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.392e-05/0.907, allocations: 4.688 kB / 0.9584 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.907, allocations: 1.188 kB / 0.9584 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.04e-05/0.9071, allocations: 0 / 0.9584 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001613/0.9072, allocations: 31.47 kB / 0.9584 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.727e-06/0.9073, allocations: 1.281 kB / 0.9584 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.846e-05/0.9073, allocations: 16.31 kB / 0.9584 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.086e-05/0.9074, allocations: 6.266 kB / 0.9584 GB, free: 4.445 MB / 0.7169 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.0001003/0.9075, allocations: 115.8 kB / 0.9585 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.366e-05/0.9075, allocations: 11.08 kB / 0.9585 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003819/0.9079, allocations: 159.1 kB / 0.9587 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.9079, allocations: 5.719 kB / 0.9587 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.9079, allocations: 0 / 0.9587 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.9079, allocations: 8.484 kB / 0.9587 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002043/0.9082, allocations: 197.4 kB / 0.9589 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.9082, allocations: 2.281 kB / 0.9589 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001059/0.9083, allocations: 25.92 kB / 0.9589 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.9083, allocations: 5.234 kB / 0.9589 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.504e-05/0.9083, allocations: 5.328 kB / 0.9589 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.9083, allocations: 0 / 0.9589 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.9083, allocations: 0 / 0.9589 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003386/0.9087, allocations: 232 kB / 0.9592 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.435e-05/0.9087, allocations: 83.77 kB / 0.9592 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.485e-05/0.9087, allocations: 7.953 kB / 0.9592 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.363e-05/0.9088, allocations: 12.25 kB / 0.9593 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.637e-05/0.9089, allocations: 10.67 kB / 0.9593 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.158e-05/0.9089, allocations: 2.75 kB / 0.9593 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.411e-05/0.909, allocations: 107.2 kB / 0.9594 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.909, allocations: 0 / 0.9594 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002478/0.9093, allocations: 16.31 kB / 0.9594 GB, free: 3.586 MB / 0.7169 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.0005528/0.9098, allocations: 0.7734 MB / 0.9601 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003101/0.9101, allocations: 115.8 kB / 0.9603 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.9101, allocations: 1.312 kB / 0.9603 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001291/0.9103, allocations: 57.33 kB / 0.9603 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002283/0.9105, allocations: 17.2 kB / 0.9603 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001234/0.9118, allocations: 0.7153 MB / 0.961 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001952/0.912, allocations: 0.7035 MB / 0.9617 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001113/0.9121, allocations: 16.28 kB / 0.9617 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.163e-05/0.9121, allocations: 26.45 kB / 0.9618 GB, free: 1.527 MB / 0.7169 GB Notification: Performance of SimCode: time 9.72e-07/0.9122, allocations: 0 / 0.9618 GB, free: 1.527 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01208/0.9242, allocations: 1.692 MB / 0.9634 GB, free: 0.7422 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001337/0.9244, allocations: 184.6 kB / 0.9636 GB, free: 0.5039 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.733/2.657, allocations: 0 / 0.9636 GB, free: 0.5039 MB / 0.7169 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