Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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: translateModel(BuildingSystems.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions") translateModel(BuildingSystems.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001347/0.001347, allocations: 105.8 kB / 16.41 MB, free: 6.488 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.001354/0.001354, allocations: 191.8 kB / 17.34 MB, free: 5.762 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.393/1.393, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002633/0.002633, allocations: 289.4 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.024/1.024, allocations: 169.2 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002674/0.002674, allocations: 103.8 kB / 0.6821 GB, free: 6.984 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4207/0.4234, allocations: 86.98 MB / 0.7671 GB, free: 4.113 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.VectorFunctions): time 0.002968/0.4263, allocations: 1.589 MB / 0.7686 GB, free: 2.512 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0009327/0.4273, allocations: 0.5053 MB / 0.7691 GB, free: 2 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.968e-05/0.4273, allocations: 4 kB / 0.7691 GB, free: 1.996 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001114/0.4274, allocations: 11.88 kB / 0.7691 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.64e-05/0.4275, allocations: 15.8 kB / 0.7691 GB, free: 1.969 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002601/0.4277, allocations: 39.95 kB / 0.7692 GB, free: 1.93 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001492/0.4279, allocations: 83.7 kB / 0.7693 GB, free: 1.848 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001371/0.428, allocations: 28.22 kB / 0.7693 GB, free: 1.816 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 8.903e-05/0.4281, allocations: 47.77 kB / 0.7693 GB, free: 1.77 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.9e-05/0.4282, allocations: 39.84 kB / 0.7694 GB, free: 1.73 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.712e-05/0.4282, allocations: 4 kB / 0.7694 GB, free: 1.727 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.176e-05/0.4283, allocations: 12 kB / 0.7694 GB, free: 1.715 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.079e-05/0.4283, allocations: 19.92 kB / 0.7694 GB, free: 1.695 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.22e-05/0.4284, allocations: 47.72 kB / 0.7695 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001561/0.4285, allocations: 89.69 kB / 0.7695 GB, free: 1.566 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.4285, allocations: 4 kB / 0.7695 GB, free: 1.562 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.132e-06/0.4285, allocations: 0 / 0.7695 GB, free: 1.562 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.029e-06/0.4285, allocations: 3.938 kB / 0.7695 GB, free: 1.559 MB / 0.5294 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.0005798/0.4291, allocations: 399 kB / 0.7699 GB, free: 1.121 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.182e-05/0.4291, allocations: 8.031 kB / 0.7699 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.991e-05/0.4292, allocations: 12.89 kB / 0.7699 GB, free: 1.102 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002034/0.4294, allocations: 192.2 kB / 0.7701 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.739e-06/0.4294, allocations: 12.38 kB / 0.7701 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.4294, allocations: 8.312 kB / 0.7701 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002868/0.4297, allocations: 113.9 kB / 0.7703 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.4297, allocations: 0 / 0.7703 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.57e-05/0.4297, allocations: 7.984 kB / 0.7703 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.4297, allocations: 0 / 0.7703 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002442/0.43, allocations: 95.88 kB / 0.7704 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000667/0.4306, allocations: 384.5 kB / 0.7707 GB, free: 216 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001543/0.4308, allocations: 54.55 kB / 0.7708 GB, free: 152 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001262/0.4309, allocations: 48.95 kB / 0.7708 GB, free: 100 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.815e-05/0.431, allocations: 11.98 kB / 0.7708 GB, free: 88 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.334e-05/0.431, allocations: 30.56 kB / 0.7709 GB, free: 48 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.431, allocations: 0 / 0.7709 GB, free: 48 kB / 0.5294 GB Notification: Performance of matching and sorting (n=6): time 0.0005144/0.4315, allocations: 165.5 kB / 0.771 GB, free: 15.88 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.968e-05/0.4315, allocations: 51.41 kB / 0.7711 GB, free: 15.82 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001276/0.4317, allocations: 144.5 kB / 0.7712 GB, free: 15.67 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/0.4317, allocations: 25.7 kB / 0.7712 GB, free: 15.64 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.604e-05/0.4318, allocations: 112 kB / 0.7713 GB, free: 15.52 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.735e-05/0.4318, allocations: 15.97 kB / 0.7714 GB, free: 15.51 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.496e-05/0.4318, allocations: 21.72 kB / 0.7714 GB, free: 15.48 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.432, allocations: 318.8 kB / 0.7717 GB, free: 15.16 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001204/0.4321, allocations: 39.97 kB / 0.7717 GB, free: 15.12 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001152/0.4322, allocations: 39.97 kB / 0.7718 GB, free: 15.08 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002249/0.4324, allocations: 88.8 kB / 0.7718 GB, free: 14.99 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.4324, allocations: 0 / 0.7718 GB, free: 14.99 MB / 0.545 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002952/0.4327, allocations: 125.5 kB / 0.772 GB, free: 14.86 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.4328, allocations: 8 kB / 0.772 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.4328, allocations: 3.984 kB / 0.772 GB, free: 14.85 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.4328, allocations: 4 kB / 0.772 GB, free: 14.85 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001457/0.4329, allocations: 19.92 kB / 0.772 GB, free: 14.83 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.4329, allocations: 0 / 0.772 GB, free: 14.83 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.973e-05/0.433, allocations: 19.94 kB / 0.772 GB, free: 14.81 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.056e-05/0.433, allocations: 448 / 0.772 GB, free: 14.81 MB / 0.545 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 9.822e-05/0.4331, allocations: 120.2 kB / 0.7721 GB, free: 14.68 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.261e-05/0.4332, allocations: 7.953 kB / 0.7721 GB, free: 14.68 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003745/0.4335, allocations: 158.2 kB / 0.7723 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/0.4335, allocations: 3.938 kB / 0.7723 GB, free: 14.51 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.4335, allocations: 3.938 kB / 0.7723 GB, free: 14.51 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.4335, allocations: 4 kB / 0.7723 GB, free: 14.5 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002344/0.4338, allocations: 197.6 kB / 0.7725 GB, free: 14.26 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.4338, allocations: 0 / 0.7725 GB, free: 14.26 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001114/0.4339, allocations: 19.97 kB / 0.7725 GB, free: 14.24 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.4339, allocations: 0 / 0.7725 GB, free: 14.24 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.4339, allocations: 0 / 0.7725 GB, free: 14.24 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.069e-06/0.4339, allocations: 11.94 kB / 0.7725 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.4339, allocations: 0 / 0.7725 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003476/0.4343, allocations: 223.4 kB / 0.7727 GB, free: 14 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.263e-05/0.4343, allocations: 89 kB / 0.7728 GB, free: 13.89 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.4343, allocations: 3.984 kB / 0.7728 GB, free: 13.89 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.4344, allocations: 15.86 kB / 0.7728 GB, free: 13.87 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.863e-05/0.4345, allocations: 12 kB / 0.7728 GB, free: 13.86 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.051e-05/0.4345, allocations: 3.984 kB / 0.7728 GB, free: 13.86 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.626e-05/0.4346, allocations: 99.27 kB / 0.7729 GB, free: 13.76 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.4346, allocations: 0 / 0.7729 GB, free: 13.76 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002448/0.4348, allocations: 19.95 kB / 0.773 GB, free: 13.74 MB / 0.545 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.0001398/0.435, allocations: 103.2 kB / 0.7731 GB, free: 13.63 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003018/0.4353, allocations: 103.9 kB / 0.7732 GB, free: 13.53 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.4353, allocations: 0 / 0.7732 GB, free: 13.53 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001282/0.4354, allocations: 51.97 kB / 0.7732 GB, free: 13.48 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002123/0.4356, allocations: 0 / 0.7732 GB, free: 13.48 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004384/0.436, allocations: 222.9 kB / 0.7734 GB, free: 13.23 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003352/0.4364, allocations: 0.708 MB / 0.7741 GB, free: 12.5 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.049e-05/0.4365, allocations: 11.98 kB / 0.7741 GB, free: 12.48 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.187e-05/0.4365, allocations: 11.44 kB / 0.7741 GB, free: 12.47 MB / 0.545 GB Notification: Performance of SimCode: time 4.01e-07/0.4365, allocations: 0 / 0.7741 GB, free: 12.47 MB / 0.545 GB Notification: Performance of Templates: time 0.003272/0.4398, allocations: 0.7335 MB / 0.7749 GB, free: 11.74 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.pipe 2>&1)