Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.BaseClasses.Validation.EulerCurve.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-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: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Movers.BaseClasses.Validation.EulerCurve,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_BaseClasses_Validation_EulerCurve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Movers.BaseClasses.Validation.EulerCurve,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_BaseClasses_Validation_EulerCurve",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.0008504/0.0008504, allocations: 100 kB / 15.05 MB, free: 1.105 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.0009638/0.0009638, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.483/1.483, allocations: 223.2 MB / 239.9 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.041/1.041, allocations: 143.3 MB / 434.2 MB, free: 13.71 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003641/0.0003645, allocations: 11.98 kB / 0.5159 GB, free: 11.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2088/0.2092, allocations: 83.41 MB / 0.5974 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Movers.BaseClasses.Validation.EulerCurve): time 0.0006807/0.21, allocations: 258.4 kB / 0.5976 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009737/0.211, allocations: 0.5854 MB / 0.5982 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.022e-05/0.211, allocations: 0 / 0.5982 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.092e-05/0.211, allocations: 0 / 0.5982 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.164e-06/0.211, allocations: 4 kB / 0.5982 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005027/0.2115, allocations: 127.6 kB / 0.5983 GB, free: 6.746 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.779e-05/0.2116, allocations: 4 kB / 0.5983 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.742e-05/0.2116, allocations: 0 / 0.5983 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.661e-05/0.2116, allocations: 4 kB / 0.5983 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.125e-05/0.2117, allocations: 0 / 0.5983 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.157e-06/0.2117, allocations: 0 / 0.5983 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003225/0.212, allocations: 203.7 kB / 0.5985 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.885e-06/0.212, allocations: 3.984 kB / 0.5985 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.45e-05/0.212, allocations: 25.7 kB / 0.5985 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001506/0.2122, allocations: 79.88 kB / 0.5986 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.2122, allocations: 0 / 0.5986 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.333e-06/0.2122, allocations: 0 / 0.5986 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.2122, allocations: 0 / 0.5986 GB, free: 6.426 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003246/0.2126, allocations: 347.4 kB / 0.5989 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.2126, allocations: 8.031 kB / 0.599 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.32e-05/0.2126, allocations: 38.5 kB / 0.599 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.355e-05/0.2127, allocations: 3.953 kB / 0.599 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.479e-05/0.2128, allocations: 167.1 kB / 0.5992 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.021e-05/0.2128, allocations: 0 / 0.5992 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.967e-05/0.2128, allocations: 0 / 0.5992 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.569e-05/0.2129, allocations: 33.7 kB / 0.5992 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.2129, allocations: 0 / 0.5992 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.164e-06/0.2129, allocations: 3.938 kB / 0.5992 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.908e-06/0.2129, allocations: 0 / 0.5992 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.986e-05/0.213, allocations: 15.94 kB / 0.5992 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002621/0.2133, allocations: 161.9 kB / 0.5994 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.16e-05/0.2133, allocations: 26.58 kB / 0.5994 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008585/0.2142, allocations: 0.6884 MB / 0.6001 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.353e-05/0.2142, allocations: 34.56 kB / 0.6001 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.2142, allocations: 0 / 0.6001 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0001372/0.2144, allocations: 53.53 kB / 0.6001 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.98e-05/0.2144, allocations: 51.41 kB / 0.6002 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.878e-05/0.2145, allocations: 93.86 kB / 0.6003 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.333e-05/0.2145, allocations: 25.7 kB / 0.6003 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.874e-05/0.2145, allocations: 84.14 kB / 0.6004 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.81e-05/0.2146, allocations: 11.83 kB / 0.6004 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.164e-06/0.2146, allocations: 0 / 0.6004 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001172/0.2147, allocations: 318.8 kB / 0.6007 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.157e-05/0.2147, allocations: 4 kB / 0.6007 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.274e-05/0.2147, allocations: 13.91 kB / 0.6007 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.992e-05/0.2148, allocations: 16.06 kB / 0.6007 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.2148, allocations: 4 kB / 0.6007 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.572e-05/0.2148, allocations: 45.64 kB / 0.6008 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.2149, allocations: 11.98 kB / 0.6008 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.2149, allocations: 0 / 0.6008 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.2149, allocations: 0 / 0.6008 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.327e-05/0.2149, allocations: 8 kB / 0.6008 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.2149, allocations: 0 / 0.6008 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.255e-05/0.215, allocations: 0 / 0.6008 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.319e-06/0.215, allocations: 0 / 0.6008 GB, free: 3.812 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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.627e-05/0.215, allocations: 121.8 kB / 0.6009 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.751e-06/0.2151, allocations: 0 / 0.6009 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001017/0.2152, allocations: 60.95 kB / 0.601 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.2152, allocations: 4 kB / 0.601 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.2152, allocations: 3.938 kB / 0.601 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.185e-06/0.2152, allocations: 0 / 0.601 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001279/0.2153, allocations: 157.6 kB / 0.6011 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.2153, allocations: 0 / 0.6011 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.861e-05/0.2154, allocations: 4 kB / 0.6011 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.2154, allocations: 4 kB / 0.6011 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.2154, allocations: 4 kB / 0.6011 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.2154, allocations: 4 kB / 0.6011 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2154, allocations: 0 / 0.6011 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001056/0.2155, allocations: 73.02 kB / 0.6012 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.867e-05/0.2156, allocations: 81.09 kB / 0.6013 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.513e-05/0.2156, allocations: 8.031 kB / 0.6013 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.688e-06/0.2156, allocations: 0 / 0.6013 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.493e-05/0.2156, allocations: 0 / 0.6013 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-06/0.2156, allocations: 4.062 kB / 0.6013 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.464e-05/0.2157, allocations: 75.28 kB / 0.6014 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.2157, allocations: 0 / 0.6014 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002437/0.2159, allocations: 51.98 kB / 0.6014 GB, free: 3.066 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (x) * 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 (3): * Single equations (assignments): 3 * 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.000549/0.2165, allocations: 0.6829 MB / 0.6021 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.402e-05/0.2166, allocations: 15.98 kB / 0.6021 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2166, allocations: 0 / 0.6021 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.047e-05/0.2166, allocations: 4 kB / 0.6021 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.901e-05/0.2167, allocations: 7.938 kB / 0.6021 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005687/0.2172, allocations: 0.5128 MB / 0.6026 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002304/0.2175, allocations: 0.677 MB / 0.6033 GB, free: 1.059 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.859e-05/0.2175, allocations: 3.984 kB / 0.6033 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.547e-05/0.2175, allocations: 7.438 kB / 0.6033 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of SimCode: time 2e-07/0.2175, allocations: 0 / 0.6033 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3397/0.5572, allocations: 1.922 MB / 0.6052 GB, free: 39.57 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001641/0.5574, allocations: 195.7 kB / 0.6054 GB, free: 39.34 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.782/2.34, allocations: 0 / 0.6054 GB, free: 39.34 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.BaseClasses.Validation.EulerCurve.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.BaseClasses.Validation.EulerCurve.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.BaseClasses.Validation.EulerCurve.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.BaseClasses.Validation.EulerCurve.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_BaseClasses_Validation_EulerCurve_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_BaseClasses_Validation_EulerCurve.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.BaseClasses.Validation.EulerCurve.pipe 2>&1) Environment - environmentSimulation: