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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_VectorFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_VectorFunctions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8865/0.8865, allocations: 141.8 MB / 149.3 MB, free: 9.195 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001589/0.001589, allocations: 180.9 kB / 182.2 MB, free: 9.43 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.639/1.639, allocations: 221.5 MB / 436.4 MB, free: 13.3 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001042/0.001042, allocations: 84 kB / 0.5074 GB, free: 10.13 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001767/0.001767, allocations: 279.2 kB / 0.5889 GB, free: 54.64 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.536e-05/2.55e-05, allocations: 8 kB / 0.6766 GB, free: 12.71 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5537/0.5538, allocations: 82.78 MB / 0.7575 GB, free: 31.91 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1547/0.7085, allocations: 108.7 MB / 0.8636 GB, free: 3.105 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002977/0.7089, allocations: 75.97 kB / 0.8637 GB, free: 3.031 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.005555/0.7145, allocations: 1.736 MB / 0.8653 GB, free: 1.285 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.232e-06/0.7145, allocations: 0 / 0.8653 GB, free: 1.285 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.094e-05/0.7145, allocations: 4 kB / 0.8654 GB, free: 1.281 MB / 0.5261 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.0004624/0.715, allocations: 387.8 kB / 0.8657 GB, free: 0.8594 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/0.7151, allocations: 12.03 kB / 0.8657 GB, free: 0.8477 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.098e-05/0.7151, allocations: 11.81 kB / 0.8657 GB, free: 0.8359 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002143/0.7153, allocations: 208.1 kB / 0.8659 GB, free: 0.5938 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.7153, allocations: 0 / 0.8659 GB, free: 0.5938 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.805e-05/0.7154, allocations: 4 kB / 0.8659 GB, free: 0.5898 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001501/0.7155, allocations: 59.97 kB / 0.866 GB, free: 0.5312 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001852/0.7157, allocations: 81.64 kB / 0.8661 GB, free: 456 kB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.7157, allocations: 8 kB / 0.8661 GB, free: 448 kB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.64e-05/0.7158, allocations: 0 / 0.8661 GB, free: 448 kB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-06/0.7158, allocations: 0 / 0.8661 GB, free: 448 kB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005735/0.7164, allocations: 357.1 kB / 0.8664 GB, free: 52 kB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 8.958e-05/0.7165, allocations: 46.56 kB / 0.8665 GB, free: 16 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.958e-05/0.7165, allocations: 32.97 kB / 0.8665 GB, free: 15.96 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 4.125e-05/0.7166, allocations: 8 kB / 0.8665 GB, free: 15.95 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.408e-05/0.7166, allocations: 34.5 kB / 0.8665 GB, free: 15.91 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.7166, allocations: 0 / 0.8665 GB, free: 15.91 MB / 0.5417 GB Notification: Performance of matching and sorting (n=6): time 0.0002731/0.7169, allocations: 93.56 kB / 0.8666 GB, free: 15.81 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.7169, allocations: 59.36 kB / 0.8667 GB, free: 15.74 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.717, allocations: 114.3 kB / 0.8668 GB, free: 15.62 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.707e-05/0.7171, allocations: 25.7 kB / 0.8668 GB, free: 15.59 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 5.957e-05/0.7171, allocations: 108.2 kB / 0.8669 GB, free: 15.48 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.796e-05/0.7172, allocations: 23.7 kB / 0.867 GB, free: 15.46 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.941e-06/0.7172, allocations: 0 / 0.867 GB, free: 15.46 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.7173, allocations: 322.8 kB / 0.8673 GB, free: 15.13 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.186e-05/0.7174, allocations: 20 kB / 0.8673 GB, free: 15.11 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.592e-05/0.7174, allocations: 27.98 kB / 0.8673 GB, free: 15.09 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.039e-05/0.7175, allocations: 27.98 kB / 0.8673 GB, free: 15.06 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.7175, allocations: 0 / 0.8673 GB, free: 15.06 MB / 0.5417 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001578/0.7176, allocations: 97.5 kB / 0.8674 GB, free: 14.96 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.7177, allocations: 4 kB / 0.8674 GB, free: 14.95 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.7177, allocations: 0 / 0.8674 GB, free: 14.95 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.7177, allocations: 0 / 0.8674 GB, free: 14.95 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001398/0.7178, allocations: 23.92 kB / 0.8675 GB, free: 14.93 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.7179, allocations: 4 kB / 0.8675 GB, free: 14.93 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.286e-05/0.7179, allocations: 19.94 kB / 0.8675 GB, free: 14.91 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.054e-05/0.718, allocations: 4 kB / 0.8675 GB, free: 14.9 MB / 0.5417 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 () * 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 7.509e-05/0.718, allocations: 105 kB / 0.8676 GB, free: 14.79 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001669/0.7182, allocations: 101.8 kB / 0.8677 GB, free: 14.69 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.649e-05/0.7183, allocations: 7.906 kB / 0.8677 GB, free: 14.68 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002381/0.7185, allocations: 114.2 kB / 0.8678 GB, free: 14.56 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.674e-06/0.7185, allocations: 0 / 0.8678 GB, free: 14.56 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.7185, allocations: 7.953 kB / 0.8678 GB, free: 14.55 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.7185, allocations: 0 / 0.8678 GB, free: 14.55 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001904/0.7187, allocations: 182.2 kB / 0.868 GB, free: 14.34 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.7187, allocations: 0 / 0.868 GB, free: 14.34 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001021/0.7188, allocations: 19.98 kB / 0.868 GB, free: 14.32 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.7189, allocations: 4 kB / 0.868 GB, free: 14.32 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.338e-06/0.7189, allocations: 0 / 0.868 GB, free: 14.32 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.7189, allocations: 0 / 0.868 GB, free: 14.32 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.7189, allocations: 0 / 0.868 GB, free: 14.32 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002174/0.7191, allocations: 203.3 kB / 0.8682 GB, free: 14.1 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.14e-05/0.7192, allocations: 81.02 kB / 0.8683 GB, free: 14 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.926e-05/0.7192, allocations: 0 / 0.8683 GB, free: 14 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.7193, allocations: 11.98 kB / 0.8683 GB, free: 13.99 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.152e-05/0.7193, allocations: 7.984 kB / 0.8683 GB, free: 13.98 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.013e-05/0.7194, allocations: 4 kB / 0.8683 GB, free: 13.98 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 6.281e-05/0.7194, allocations: 104.8 kB / 0.8684 GB, free: 13.88 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7194, allocations: 0 / 0.8684 GB, free: 13.88 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002122/0.7197, allocations: 15.91 kB / 0.8684 GB, free: 13.86 MB / 0.5417 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 () * 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.0005337/0.7202, allocations: 0.7472 MB / 0.8691 GB, free: 13.09 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001439/0.7204, allocations: 72.22 kB / 0.8692 GB, free: 13.02 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.7204, allocations: 4 kB / 0.8692 GB, free: 13.02 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 5.656e-05/0.7204, allocations: 40.05 kB / 0.8692 GB, free: 12.98 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001613/0.7206, allocations: 8 kB / 0.8693 GB, free: 12.97 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004707/0.7211, allocations: 173.9 kB / 0.8694 GB, free: 12.76 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000297/0.7214, allocations: 0.708 MB / 0.8701 GB, free: 12.03 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 6.479e-05/0.7215, allocations: 15.97 kB / 0.8701 GB, free: 12.01 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.184e-05/0.7215, allocations: 31.42 kB / 0.8702 GB, free: 11.98 MB / 0.5417 GB Notification: Performance of SimCode: time 2.4e-07/0.7215, allocations: 0 / 0.8702 GB, free: 11.98 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01885/0.7404, allocations: 1.361 MB / 0.8715 GB, free: 10.63 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000222/0.7407, allocations: 151 kB / 0.8716 GB, free: 10.44 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.67/2.411, allocations: 3.938 kB / 0.8716 GB, free: 10.44 MB / 0.5417 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_VectorFunctions_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_VectorFunctions.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.pipe 2>&1)