Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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: "" <> buildModelFMU(BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerCurve,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Movers_BaseClasses_Validation_EulerCurve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerCurve,fileNamePrefix="BuildingSystems_BuildingSystems_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.004557/0.004557, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001285/0.001286, allocations: 193.6 kB / 16.67 MB, free: 5.93 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.337/1.337, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002428/0.002428, allocations: 291.7 kB / 290.8 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.9609/0.9609, allocations: 169.3 MB / 0.4983 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002656/0.002656, allocations: 96.06 kB / 0.681 GB, free: 7.5 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3601/0.3628, allocations: 86.97 MB / 0.7659 GB, free: 3.879 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerCurve): time 0.001373/0.3642, allocations: 0.5345 MB / 0.7664 GB, free: 3.348 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0009953/0.3652, allocations: 0.6255 MB / 0.767 GB, free: 2.719 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.133e-05/0.3652, allocations: 4 kB / 0.767 GB, free: 2.715 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.377e-05/0.3653, allocations: 0 / 0.767 GB, free: 2.715 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.4e-06/0.3653, allocations: 0 / 0.767 GB, free: 2.715 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000532/0.3658, allocations: 171.5 kB / 0.7672 GB, free: 2.547 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 3.688e-05/0.3659, allocations: 15.98 kB / 0.7672 GB, free: 2.531 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.324e-05/0.3659, allocations: 0 / 0.7672 GB, free: 2.531 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.167e-05/0.3659, allocations: 0 / 0.7672 GB, free: 2.531 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 1.858e-05/0.3659, allocations: 7.938 kB / 0.7672 GB, free: 2.523 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.506e-06/0.366, allocations: 0 / 0.7672 GB, free: 2.523 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003144/0.3663, allocations: 195.7 kB / 0.7674 GB, free: 2.332 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.434e-06/0.3663, allocations: 0 / 0.7674 GB, free: 2.332 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.476e-05/0.3663, allocations: 3.984 kB / 0.7674 GB, free: 2.328 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002041/0.3665, allocations: 128.7 kB / 0.7675 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.3665, allocations: 0 / 0.7675 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.102e-06/0.3665, allocations: 0 / 0.7675 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.757e-06/0.3665, allocations: 4 kB / 0.7675 GB, free: 2.207 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003271/0.3669, allocations: 351.2 kB / 0.7679 GB, free: 1.812 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.097e-05/0.3669, allocations: 8.031 kB / 0.7679 GB, free: 1.805 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.299e-05/0.3669, allocations: 30.75 kB / 0.7679 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.477e-05/0.367, allocations: 12.88 kB / 0.7679 GB, free: 1.754 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.96e-05/0.3671, allocations: 160.4 kB / 0.7681 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.526e-06/0.3671, allocations: 384 / 0.7681 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.558e-05/0.3671, allocations: 384 / 0.7681 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.847e-05/0.3672, allocations: 38.25 kB / 0.7681 GB, free: 1.516 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.3672, allocations: 7.938 kB / 0.7681 GB, free: 1.508 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.941e-06/0.3672, allocations: 3.938 kB / 0.7681 GB, free: 1.504 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.557e-06/0.3672, allocations: 4 kB / 0.7681 GB, free: 1.5 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.011e-05/0.3673, allocations: 7.984 kB / 0.7681 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00022/0.3675, allocations: 153.7 kB / 0.7683 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 6.046e-05/0.3676, allocations: 26.58 kB / 0.7683 GB, free: 1.258 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.505e-05/0.3676, allocations: 12.98 kB / 0.7683 GB, free: 1.242 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000891/0.3685, allocations: 0.6883 MB / 0.769 GB, free: 416 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.056e-05/0.3685, allocations: 42.48 kB / 0.769 GB, free: 364 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.3685, allocations: 0 / 0.769 GB, free: 364 kB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0001206/0.3687, allocations: 49.62 kB / 0.7691 GB, free: 308 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.735e-05/0.3687, allocations: 51.41 kB / 0.7691 GB, free: 244 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.234e-05/0.3688, allocations: 93.86 kB / 0.7692 GB, free: 140 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.381e-05/0.3688, allocations: 29.64 kB / 0.7693 GB, free: 104 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.57e-05/0.3688, allocations: 80.14 kB / 0.7693 GB, free: 20 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.151e-05/0.3688, allocations: 11.89 kB / 0.7693 GB, free: 8 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.994e-05/0.3689, allocations: 13.72 kB / 0.7694 GB, free: 15.99 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.369, allocations: 318.8 kB / 0.7697 GB, free: 15.67 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.468e-05/0.369, allocations: 8 kB / 0.7697 GB, free: 15.66 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.264e-05/0.3691, allocations: 13.72 kB / 0.7697 GB, free: 15.64 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.173e-05/0.3691, allocations: 25.66 kB / 0.7697 GB, free: 15.61 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.3691, allocations: 0 / 0.7697 GB, free: 15.61 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.829e-05/0.3692, allocations: 53.58 kB / 0.7698 GB, free: 15.55 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.3692, allocations: 12.03 kB / 0.7698 GB, free: 15.54 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.3692, allocations: 3.938 kB / 0.7698 GB, free: 15.54 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.3692, allocations: 3.984 kB / 0.7698 GB, free: 15.53 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.014e-05/0.3693, allocations: 12 kB / 0.7698 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.967e-06/0.3693, allocations: 0 / 0.7698 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.463e-05/0.3693, allocations: 0 / 0.7698 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.376e-06/0.3693, allocations: 0 / 0.7698 GB, free: 15.52 MB / 0.545 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.545e-05/0.3694, allocations: 112.2 kB / 0.7699 GB, free: 15.4 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.273e-06/0.3694, allocations: 0 / 0.7699 GB, free: 15.4 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.398e-05/0.3695, allocations: 61 kB / 0.7699 GB, free: 15.34 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.3695, allocations: 7.984 kB / 0.77 GB, free: 15.33 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.3695, allocations: 0 / 0.77 GB, free: 15.33 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.165e-06/0.3695, allocations: 0 / 0.77 GB, free: 15.33 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001333/0.3697, allocations: 153.7 kB / 0.7701 GB, free: 15.13 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.3697, allocations: 0 / 0.7701 GB, free: 15.13 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.896e-05/0.3697, allocations: 7.984 kB / 0.7701 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.3697, allocations: 0 / 0.7701 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.3697, allocations: 3.938 kB / 0.7701 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.3697, allocations: 0 / 0.7701 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.3697, allocations: 4 kB / 0.7701 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001028/0.3698, allocations: 77.48 kB / 0.7702 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.9e-05/0.3699, allocations: 77.11 kB / 0.7703 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.433e-05/0.3699, allocations: 15.89 kB / 0.7703 GB, free: 14.91 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.168e-05/0.3699, allocations: 0 / 0.7703 GB, free: 14.91 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.737e-06/0.3699, allocations: 0 / 0.7703 GB, free: 14.91 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.3699, allocations: 0 / 0.7703 GB, free: 14.91 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.267e-05/0.37, allocations: 79.22 kB / 0.7704 GB, free: 14.83 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.37, allocations: 64 / 0.7704 GB, free: 14.83 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003007/0.3703, allocations: 55.86 kB / 0.7704 GB, free: 14.78 MB / 0.545 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 (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.0005268/0.3708, allocations: 0.6786 MB / 0.7711 GB, free: 14.07 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 7.231e-05/0.3709, allocations: 23.92 kB / 0.7711 GB, free: 14.04 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.3709, allocations: 4.125 kB / 0.7711 GB, free: 14.04 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.112e-05/0.3709, allocations: 4 kB / 0.7711 GB, free: 14.04 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001452/0.3711, allocations: 2.234 kB / 0.7711 GB, free: 14.04 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009112/0.372, allocations: 1.112 MB / 0.7722 GB, free: 12.83 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002616/0.3723, allocations: 0.6768 MB / 0.7729 GB, free: 12.13 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.459e-05/0.3723, allocations: 0 / 0.7729 GB, free: 12.13 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.02e-05/0.3723, allocations: 11.44 kB / 0.7729 GB, free: 12.12 MB / 0.545 GB Notification: Performance of SimCode: time 2.61e-07/0.3723, allocations: 0 / 0.7729 GB, free: 12.12 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.003/1.375, allocations: 2.14 MB / 0.775 GB, free: 10.1 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.22/11.6, allocations: 14.23 kB / 0.775 GB, free: 10.09 MB / 0.545 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerCurve.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerCurve.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerCurve.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerCurve.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Movers_BaseClasses_Validation_EulerCurve_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Movers_BaseClasses_Validation_EulerCurve.fmu > BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerCurve.pipe 2>&1)