Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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_8_Buildings_Utilities_Math_Examples_VectorFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="Buildings_8_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.001857/0.001857, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002046/0.002046, allocations: 192.9 kB / 16.14 MB, free: 6.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.691/1.691, allocations: 205.1 MB / 222 MB, free: 4.969 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.732/1.732, allocations: 292.3 MB / 0.5484 GB, free: 13.7 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001605/0.001605, allocations: 70.25 kB / 0.6709 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2553/0.257, allocations: 114.5 MB / 0.7828 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.003141/0.2601, allocations: 1.659 MB / 0.7844 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001051/0.2612, allocations: 0.5317 MB / 0.7849 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.96e-05/0.2613, allocations: 4 kB / 0.7849 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001207/0.2615, allocations: 11.92 kB / 0.7849 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.75e-05/0.2616, allocations: 11.88 kB / 0.785 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002366/0.2618, allocations: 35.95 kB / 0.785 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001132/0.2619, allocations: 79.72 kB / 0.7851 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001555/0.2621, allocations: 36.22 kB / 0.7851 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000113/0.2622, allocations: 35.83 kB / 0.7851 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.003e-05/0.2623, allocations: 35.84 kB / 0.7852 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.926e-05/0.2623, allocations: 4 kB / 0.7852 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.415e-05/0.2624, allocations: 15.94 kB / 0.7852 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.348e-05/0.2624, allocations: 19.92 kB / 0.7852 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.871e-05/0.2625, allocations: 43.72 kB / 0.7852 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000159/0.2627, allocations: 83.92 kB / 0.7853 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.2627, allocations: 0 / 0.7853 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.82e-07/0.2627, allocations: 4 kB / 0.7853 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.2627, allocations: 0 / 0.7853 GB, free: 11.3 MB / 0.6075 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.0005027/0.2632, allocations: 403.1 kB / 0.7857 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.2633, allocations: 12.03 kB / 0.7857 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.538e-05/0.2633, allocations: 34.75 kB / 0.7858 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.56e-05/0.2633, allocations: 20.77 kB / 0.7858 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001561/0.2635, allocations: 188.1 kB / 0.786 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.2635, allocations: 8.375 kB / 0.786 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.484e-05/0.2635, allocations: 8.375 kB / 0.786 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002406/0.2638, allocations: 117.7 kB / 0.7861 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.2638, allocations: 3.984 kB / 0.7861 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.2638, allocations: 0 / 0.7861 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.2638, allocations: 4 kB / 0.7861 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002167/0.2641, allocations: 95.94 kB / 0.7862 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000547/0.2646, allocations: 388.5 kB / 0.7866 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001317/0.2648, allocations: 58.55 kB / 0.7866 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001084/0.2649, allocations: 52.95 kB / 0.7867 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.371e-05/0.2649, allocations: 0 / 0.7867 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.852e-05/0.265, allocations: 34.56 kB / 0.7867 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=6): time 8.91e-07/0.265, allocations: 3.938 kB / 0.7867 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0004362/0.2654, allocations: 165.4 kB / 0.7869 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.319e-05/0.2654, allocations: 63.34 kB / 0.7869 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.9e-05/0.2656, allocations: 132.5 kB / 0.787 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.413e-05/0.2656, allocations: 25.7 kB / 0.7871 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.338e-05/0.2656, allocations: 108.1 kB / 0.7872 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.707e-05/0.2657, allocations: 15.72 kB / 0.7872 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.07e-05/0.2657, allocations: 21.7 kB / 0.7872 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.2658, allocations: 322.8 kB / 0.7875 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001027/0.2659, allocations: 39.97 kB / 0.7876 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.13e-05/0.266, allocations: 39.97 kB / 0.7876 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001926/0.2662, allocations: 88.75 kB / 0.7877 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.2662, allocations: 0 / 0.7877 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002477/0.2665, allocations: 125.5 kB / 0.7878 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.2665, allocations: 4 kB / 0.7878 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.2665, allocations: 8 kB / 0.7878 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.2665, allocations: 3.938 kB / 0.7878 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001383/0.2667, allocations: 15.98 kB / 0.7878 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.2667, allocations: 0 / 0.7878 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.525e-05/0.2668, allocations: 11.98 kB / 0.7878 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.833e-05/0.2668, allocations: 4 kB / 0.7878 GB, free: 8.496 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.29e-05/0.2669, allocations: 117.8 kB / 0.788 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.034e-05/0.2669, allocations: 11.84 kB / 0.788 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003175/0.2672, allocations: 154.7 kB / 0.7881 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.2672, allocations: 3.938 kB / 0.7881 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.2673, allocations: 0 / 0.7881 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.2673, allocations: 0 / 0.7881 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002285/0.2675, allocations: 201.6 kB / 0.7883 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.2675, allocations: 7.938 kB / 0.7883 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.825e-05/0.2676, allocations: 15.98 kB / 0.7883 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.2676, allocations: 4 kB / 0.7883 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.2676, allocations: 0 / 0.7883 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.2676, allocations: 3.938 kB / 0.7883 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.2676, allocations: 0 / 0.7883 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002907/0.2679, allocations: 227.3 kB / 0.7886 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.06e-05/0.268, allocations: 81.02 kB / 0.7886 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.015e-05/0.268, allocations: 15.92 kB / 0.7887 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.684e-05/0.2681, allocations: 7.938 kB / 0.7887 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001078/0.2682, allocations: 11.98 kB / 0.7887 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.266e-06/0.2682, allocations: 0 / 0.7887 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.597e-05/0.2683, allocations: 105.8 kB / 0.7888 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2683, allocations: 0 / 0.7888 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002234/0.2686, allocations: 19.91 kB / 0.7888 GB, free: 7.426 MB / 0.6075 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 (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.0005886/0.2691, allocations: 0.767 MB / 0.7895 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002504/0.2694, allocations: 91.94 kB / 0.7896 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.2694, allocations: 0 / 0.7896 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.00011/0.2695, allocations: 59.91 kB / 0.7897 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002041/0.2697, allocations: 11.92 kB / 0.7897 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00174/0.2715, allocations: 1.615 MB / 0.7913 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003273/0.2718, allocations: 0.7043 MB / 0.792 GB, free: 4.055 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001359/0.272, allocations: 19.95 kB / 0.792 GB, free: 4.035 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.43e-05/0.272, allocations: 23.42 kB / 0.792 GB, free: 4.012 MB / 0.6075 GB Notification: Performance of SimCode: time 4.21e-07/0.272, allocations: 7.938 kB / 0.792 GB, free: 4.004 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0104/0.2825, allocations: 1.778 MB / 0.7937 GB, free: 2.312 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001789/0.2826, allocations: 204.2 kB / 0.7939 GB, free: 2.055 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.625/1.907, allocations: 0 / 0.7939 GB, free: 2.055 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.VectorFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Examples_VectorFunctions_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Examples_VectorFunctions.fmu > Buildings_8_Buildings.Utilities.Math.Examples.VectorFunctions.pipe 2>&1)