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.001237/0.001237, allocations: 106.4 kB / 16.41 MB, free: 6.504 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.001207/0.001207, allocations: 189.7 kB / 17.34 MB, free: 5.742 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.245/1.245, 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.002073/0.002073, allocations: 292.8 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8954/0.8954, allocations: 169.3 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001766/0.001766, allocations: 99.84 kB / 0.6821 GB, free: 6.961 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.421/0.4228, allocations: 86.97 MB / 0.7671 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.VectorFunctions): time 0.002417/0.4252, allocations: 1.593 MB / 0.7686 GB, free: 2.32 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0007773/0.426, allocations: 0.5053 MB / 0.7691 GB, free: 1.809 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.704e-05/0.4261, allocations: 0 / 0.7691 GB, free: 1.809 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 9.714e-05/0.4262, allocations: 11.88 kB / 0.7691 GB, free: 1.797 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.228e-05/0.4262, allocations: 19.78 kB / 0.7691 GB, free: 1.777 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000225/0.4265, allocations: 39.97 kB / 0.7692 GB, free: 1.738 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001151/0.4266, allocations: 83.69 kB / 0.7693 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001431/0.4267, allocations: 43.88 kB / 0.7693 GB, free: 1.613 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 8.661e-05/0.4268, allocations: 39.78 kB / 0.7693 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.308e-05/0.4269, allocations: 43.83 kB / 0.7694 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.998e-05/0.4269, allocations: 8 kB / 0.7694 GB, free: 1.523 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.078e-05/0.427, allocations: 8 kB / 0.7694 GB, free: 1.516 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.369e-05/0.4271, allocations: 23.92 kB / 0.7694 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.325e-05/0.4271, allocations: 39.73 kB / 0.7694 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001349/0.4272, allocations: 83.7 kB / 0.7695 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.4273, allocations: 0 / 0.7695 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.252e-06/0.4273, allocations: 0 / 0.7695 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.509e-06/0.4273, allocations: 4 kB / 0.7695 GB, free: 1.367 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.000487/0.4278, allocations: 405.6 kB / 0.7699 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.4278, allocations: 8.031 kB / 0.7699 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.004e-05/0.4278, allocations: 8.844 kB / 0.7699 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000164/0.428, allocations: 204.1 kB / 0.7701 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.919e-06/0.428, allocations: 4.375 kB / 0.7701 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.693e-05/0.4281, allocations: 8.375 kB / 0.7701 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002402/0.4283, allocations: 109.9 kB / 0.7702 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.4283, allocations: 3.938 kB / 0.7702 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.402e-05/0.4283, allocations: 4 kB / 0.7703 GB, free: 0.5391 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.4283, allocations: 4 kB / 0.7703 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002126/0.4286, allocations: 91.92 kB / 0.7703 GB, free: 456 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005273/0.4291, allocations: 380.5 kB / 0.7707 GB, free: 24 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001661/0.4293, allocations: 62.48 kB / 0.7708 GB, free: 15.95 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001103/0.4294, allocations: 48.95 kB / 0.7708 GB, free: 15.9 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.794e-05/0.4294, allocations: 11.95 kB / 0.7708 GB, free: 15.89 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.891e-05/0.4295, allocations: 34.56 kB / 0.7709 GB, free: 15.85 MB / 0.545 GB Notification: Performance of pre-optimization done (n=6): time 2.474e-06/0.4295, allocations: 8 kB / 0.7709 GB, free: 15.84 MB / 0.545 GB Notification: Performance of matching and sorting (n=6): time 0.0004323/0.4299, allocations: 157.5 kB / 0.771 GB, free: 15.68 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.485e-05/0.43, allocations: 51.41 kB / 0.7711 GB, free: 15.62 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.26e-05/0.4301, allocations: 143.8 kB / 0.7712 GB, free: 15.47 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.68e-05/0.4301, allocations: 29.7 kB / 0.7712 GB, free: 15.43 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.844e-05/0.4301, allocations: 104.1 kB / 0.7713 GB, free: 15.33 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.797e-05/0.4302, allocations: 27.64 kB / 0.7714 GB, free: 15.3 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.747e-05/0.4302, allocations: 21.72 kB / 0.7714 GB, free: 15.27 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.814e-05/0.4303, allocations: 322.8 kB / 0.7717 GB, free: 14.95 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001104/0.4304, allocations: 35.97 kB / 0.7717 GB, free: 14.91 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.367e-05/0.4305, allocations: 39.97 kB / 0.7718 GB, free: 14.88 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002053/0.4307, allocations: 97.17 kB / 0.7719 GB, free: 14.78 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.4308, allocations: 0 / 0.7719 GB, free: 14.78 MB / 0.545 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002532/0.431, allocations: 117.6 kB / 0.772 GB, free: 14.66 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.431, allocations: 4 kB / 0.772 GB, free: 14.65 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.431, allocations: 0 / 0.772 GB, free: 14.65 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.4311, allocations: 0 / 0.772 GB, free: 14.65 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001347/0.4312, allocations: 31.84 kB / 0.772 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.4312, allocations: 0 / 0.772 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.011e-05/0.4313, allocations: 11.91 kB / 0.772 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.178e-05/0.4313, allocations: 7.984 kB / 0.772 GB, free: 14.6 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 8.025e-05/0.4314, allocations: 116.2 kB / 0.7721 GB, free: 14.48 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.103e-05/0.4314, allocations: 11.84 kB / 0.7721 GB, free: 14.47 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003238/0.4318, allocations: 146.3 kB / 0.7723 GB, free: 14.32 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.4318, allocations: 7.875 kB / 0.7723 GB, free: 14.31 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.4318, allocations: 0 / 0.7723 GB, free: 14.31 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.4318, allocations: 4 kB / 0.7723 GB, free: 14.31 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001867/0.432, allocations: 197.6 kB / 0.7725 GB, free: 14.07 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.432, allocations: 0 / 0.7725 GB, free: 14.07 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.88e-05/0.4321, allocations: 15.98 kB / 0.7725 GB, free: 14.05 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.4321, allocations: 7.984 kB / 0.7725 GB, free: 14.04 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.4321, allocations: 4 kB / 0.7725 GB, free: 14.04 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.4321, allocations: 3.938 kB / 0.7725 GB, free: 14.04 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.4321, allocations: 3.938 kB / 0.7725 GB, free: 14.03 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000293/0.4324, allocations: 219.6 kB / 0.7727 GB, free: 13.8 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.184e-05/0.4325, allocations: 85.02 kB / 0.7728 GB, free: 13.7 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2e-05/0.4325, allocations: 8 kB / 0.7728 GB, free: 13.69 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.4326, allocations: 15.92 kB / 0.7728 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.027e-05/0.4327, allocations: 3.938 kB / 0.7728 GB, free: 13.67 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.259e-05/0.4327, allocations: 7.984 kB / 0.7728 GB, free: 13.66 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.559e-05/0.4328, allocations: 106.4 kB / 0.7729 GB, free: 13.56 MB / 0.545 GB Notification: Performance of sort global known variables: time 2e-07/0.4328, allocations: 0 / 0.7729 GB, free: 13.56 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00023/0.433, allocations: 19.94 kB / 0.773 GB, free: 13.54 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.0001428/0.4331, allocations: 99.25 kB / 0.7731 GB, free: 13.44 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002694/0.4334, allocations: 99.92 kB / 0.7731 GB, free: 13.34 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4334, allocations: 0 / 0.7731 GB, free: 13.34 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000123/0.4336, allocations: 59.91 kB / 0.7732 GB, free: 13.28 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002168/0.4338, allocations: 0 / 0.7732 GB, free: 13.28 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005115/0.4343, allocations: 240.9 kB / 0.7734 GB, free: 13.01 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002865/0.4346, allocations: 0.7032 MB / 0.7741 GB, free: 12.29 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.093e-05/0.4346, allocations: 11.44 kB / 0.7741 GB, free: 12.27 MB / 0.545 GB Notification: Performance of SimCode: time 1.9e-07/0.4347, allocations: 0 / 0.7741 GB, free: 12.27 MB / 0.545 GB Notification: Performance of Templates: time 0.002547/0.4372, allocations: 1.124 MB / 0.7752 GB, free: 11.15 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.pipe 2>&1)