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.001269/0.001269, allocations: 106 kB / 16.41 MB, free: 6.5 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.001311/0.001311, allocations: 185.5 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.243/1.243, 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.002123/0.002123, allocations: 284.9 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.89/0.89, allocations: 169.3 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00189/0.001891, allocations: 95.86 kB / 0.6821 GB, free: 6.965 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4222/0.4241, allocations: 86.98 MB / 0.7671 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.VectorFunctions): time 0.002631/0.4268, allocations: 1.592 MB / 0.7686 GB, free: 2.312 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0008719/0.4277, allocations: 0.5013 MB / 0.7691 GB, free: 1.805 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.913e-05/0.4278, allocations: 0 / 0.7691 GB, free: 1.805 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001131/0.4279, allocations: 15.86 kB / 0.7691 GB, free: 1.789 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.939e-05/0.428, allocations: 11.86 kB / 0.7691 GB, free: 1.777 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002505/0.4282, allocations: 43.89 kB / 0.7692 GB, free: 1.734 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001221/0.4284, allocations: 83.69 kB / 0.7693 GB, free: 1.652 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001436/0.4285, allocations: 43.88 kB / 0.7693 GB, free: 1.609 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 9.497e-05/0.4286, allocations: 35.86 kB / 0.7693 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.939e-05/0.4287, allocations: 43.77 kB / 0.7694 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.717e-05/0.4287, allocations: 8 kB / 0.7694 GB, free: 1.523 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.155e-05/0.4288, allocations: 15.92 kB / 0.7694 GB, free: 1.508 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.191e-05/0.4289, allocations: 23.92 kB / 0.7694 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.505e-05/0.4289, allocations: 35.75 kB / 0.7694 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001542/0.4291, allocations: 87.69 kB / 0.7695 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.4291, allocations: 0 / 0.7695 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.573e-06/0.4291, allocations: 4 kB / 0.7695 GB, free: 1.359 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.4291, allocations: 4 kB / 0.7695 GB, free: 1.355 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.0005146/0.4296, allocations: 397.6 kB / 0.7699 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.4297, allocations: 8.031 kB / 0.7699 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.554e-05/0.4297, allocations: 12.84 kB / 0.7699 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001654/0.4299, allocations: 196.1 kB / 0.7701 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.4299, allocations: 12.38 kB / 0.7701 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.43e-05/0.4299, allocations: 8.312 kB / 0.7701 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002424/0.4302, allocations: 117.9 kB / 0.7703 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.104e-06/0.4302, allocations: 0 / 0.7703 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.4302, allocations: 0 / 0.7703 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.523e-06/0.4302, allocations: 4 kB / 0.7703 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002139/0.4304, allocations: 95.94 kB / 0.7704 GB, free: 444 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000596/0.431, allocations: 376.5 kB / 0.7707 GB, free: 16 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001583/0.4312, allocations: 58.55 kB / 0.7708 GB, free: 15.95 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001113/0.4313, allocations: 52.95 kB / 0.7708 GB, free: 15.89 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.606e-05/0.4314, allocations: 7.922 kB / 0.7708 GB, free: 15.89 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.163e-05/0.4314, allocations: 34.56 kB / 0.7709 GB, free: 15.84 MB / 0.545 GB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.4314, allocations: 4 kB / 0.7709 GB, free: 15.84 MB / 0.545 GB Notification: Performance of matching and sorting (n=6): time 0.0004233/0.4318, allocations: 161.5 kB / 0.771 GB, free: 15.68 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.652e-05/0.4319, allocations: 51.41 kB / 0.7711 GB, free: 15.61 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000101/0.432, allocations: 141.5 kB / 0.7712 GB, free: 15.46 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.349e-05/0.432, allocations: 25.7 kB / 0.7712 GB, free: 15.43 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.857e-05/0.4321, allocations: 108.1 kB / 0.7713 GB, free: 15.32 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.992e-05/0.4321, allocations: 23.66 kB / 0.7714 GB, free: 15.3 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.38e-05/0.4322, allocations: 21.7 kB / 0.7714 GB, free: 15.27 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001026/0.4323, allocations: 322.8 kB / 0.7717 GB, free: 14.95 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001061/0.4324, allocations: 35.97 kB / 0.7717 GB, free: 14.91 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.399e-05/0.4325, allocations: 43.91 kB / 0.7718 GB, free: 14.87 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001975/0.4327, allocations: 88.81 kB / 0.7718 GB, free: 14.78 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.4327, allocations: 0 / 0.7718 GB, free: 14.78 MB / 0.545 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002644/0.433, allocations: 121.6 kB / 0.772 GB, free: 14.66 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.433, allocations: 4 kB / 0.772 GB, free: 14.65 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.433, allocations: 0 / 0.772 GB, free: 14.65 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.433, allocations: 0 / 0.772 GB, free: 14.65 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001313/0.4332, allocations: 27.86 kB / 0.772 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.4332, allocations: 3.938 kB / 0.772 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.074e-05/0.4333, allocations: 16.33 kB / 0.772 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.272e-05/0.4333, allocations: 8 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.051e-05/0.4334, allocations: 117.8 kB / 0.7721 GB, free: 14.47 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.265e-05/0.4334, allocations: 7.906 kB / 0.7721 GB, free: 14.46 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003229/0.4337, allocations: 142.3 kB / 0.7723 GB, free: 14.32 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.4337, allocations: 3.938 kB / 0.7723 GB, free: 14.32 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.4338, allocations: 7.938 kB / 0.7723 GB, free: 14.31 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.4338, allocations: 0 / 0.7723 GB, free: 14.31 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002012/0.434, allocations: 205.6 kB / 0.7725 GB, free: 14.06 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.434, allocations: 0 / 0.7725 GB, free: 14.06 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001011/0.4341, allocations: 23.92 kB / 0.7725 GB, free: 14.04 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.4341, allocations: 0 / 0.7725 GB, free: 14.04 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.4341, allocations: 0 / 0.7725 GB, free: 14.04 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.4341, allocations: 3.938 kB / 0.7725 GB, free: 14.03 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.4341, allocations: 0 / 0.7725 GB, free: 14.03 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002878/0.4344, allocations: 227.4 kB / 0.7727 GB, free: 13.79 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.12e-05/0.4345, allocations: 81.02 kB / 0.7728 GB, free: 13.7 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.935e-05/0.4345, allocations: 3.984 kB / 0.7728 GB, free: 13.69 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.656e-05/0.4346, allocations: 11.94 kB / 0.7728 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.484e-05/0.4346, allocations: 3.984 kB / 0.7728 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.182e-05/0.4347, allocations: 8 kB / 0.7728 GB, free: 13.67 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.596e-05/0.4347, allocations: 102.2 kB / 0.7729 GB, free: 13.57 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4347, allocations: 0 / 0.7729 GB, free: 13.57 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002364/0.435, allocations: 27.92 kB / 0.7729 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.0001358/0.4351, allocations: 99.19 kB / 0.773 GB, free: 13.44 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002522/0.4354, allocations: 99.94 kB / 0.7731 GB, free: 13.34 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.4354, allocations: 0 / 0.7731 GB, free: 13.34 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001151/0.4355, allocations: 55.91 kB / 0.7732 GB, free: 13.29 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002183/0.4357, allocations: 11.97 kB / 0.7732 GB, free: 13.27 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004466/0.4362, allocations: 236.9 kB / 0.7734 GB, free: 13.01 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002422/0.4364, allocations: 0.6963 MB / 0.7741 GB, free: 12.29 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.198e-05/0.4365, allocations: 19.42 kB / 0.7741 GB, free: 12.27 MB / 0.545 GB Notification: Performance of SimCode: time 4.91e-07/0.4365, allocations: 4 kB / 0.7741 GB, free: 12.26 MB / 0.545 GB Notification: Performance of Templates: time 0.002644/0.4391, allocations: 1.13 MB / 0.7752 GB, free: 11.13 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)