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.004822/0.004822, allocations: 101 kB / 15.73 MB, free: 6.062 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.001455/0.001455, allocations: 193.1 kB / 16.67 MB, free: 5.973 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.293/1.293, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00248/0.00248, allocations: 284.2 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9324/0.9324, allocations: 169.3 MB / 0.4983 GB, free: 4.406 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002511/0.002511, allocations: 99.84 kB / 0.681 GB, free: 7.422 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3879/0.3904, allocations: 86.97 MB / 0.7659 GB, free: 3.84 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerCurve): time 0.00157/0.392, allocations: 0.5305 MB / 0.7664 GB, free: 3.312 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001072/0.3931, allocations: 0.6334 MB / 0.767 GB, free: 2.676 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.268e-05/0.3931, allocations: 0 / 0.767 GB, free: 2.676 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.565e-05/0.3932, allocations: 0 / 0.767 GB, free: 2.676 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.803e-06/0.3932, allocations: 0 / 0.767 GB, free: 2.676 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005815/0.3938, allocations: 171.5 kB / 0.7672 GB, free: 2.508 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 3.392e-05/0.3938, allocations: 4 kB / 0.7672 GB, free: 2.504 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.812e-05/0.3938, allocations: 7.984 kB / 0.7672 GB, free: 2.496 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.108e-05/0.3939, allocations: 0 / 0.7672 GB, free: 2.496 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 1.667e-05/0.3939, allocations: 0 / 0.7672 GB, free: 2.496 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.838e-06/0.3939, allocations: 4 kB / 0.7672 GB, free: 2.492 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003328/0.3942, allocations: 203.6 kB / 0.7674 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.037e-06/0.3943, allocations: 0 / 0.7674 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.663e-05/0.3943, allocations: 4 kB / 0.7674 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002193/0.3945, allocations: 124.8 kB / 0.7675 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 8.656e-06/0.3945, allocations: 0 / 0.7675 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.172e-06/0.3945, allocations: 3.938 kB / 0.7675 GB, free: 2.172 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.3945, allocations: 0 / 0.7675 GB, free: 2.172 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.0003781/0.3949, allocations: 351.2 kB / 0.7679 GB, free: 1.777 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.395, allocations: 16.03 kB / 0.7679 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.991e-05/0.395, allocations: 30.75 kB / 0.7679 GB, free: 1.723 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.675e-05/0.395, allocations: 4.891 kB / 0.7679 GB, free: 1.719 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001134/0.3952, allocations: 160.4 kB / 0.7681 GB, free: 1.523 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.3952, allocations: 4.375 kB / 0.7681 GB, free: 1.52 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.738e-05/0.3952, allocations: 4.375 kB / 0.7681 GB, free: 1.516 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.304e-05/0.3953, allocations: 42.12 kB / 0.7681 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.3953, allocations: 3.938 kB / 0.7681 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.813e-06/0.3953, allocations: 0 / 0.7681 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.3953, allocations: 0 / 0.7681 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.044e-05/0.3954, allocations: 15.98 kB / 0.7681 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002479/0.3956, allocations: 149.7 kB / 0.7683 GB, free: 1.254 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 7.539e-05/0.3957, allocations: 30.61 kB / 0.7683 GB, free: 1.215 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.221e-05/0.3957, allocations: 12.86 kB / 0.7683 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008932/0.3966, allocations: 0.6883 MB / 0.769 GB, free: 372 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.333e-05/0.3967, allocations: 30.56 kB / 0.769 GB, free: 332 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.3967, allocations: 0 / 0.769 GB, free: 332 kB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0001381/0.3968, allocations: 49.62 kB / 0.7691 GB, free: 276 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.484e-05/0.3969, allocations: 55.41 kB / 0.7691 GB, free: 208 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.235e-05/0.3969, allocations: 89.86 kB / 0.7692 GB, free: 108 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.635e-05/0.3969, allocations: 29.7 kB / 0.7692 GB, free: 72 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.762e-05/0.397, allocations: 80.14 kB / 0.7693 GB, free: 15.99 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.474e-05/0.397, allocations: 15.88 kB / 0.7693 GB, free: 15.97 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.981e-05/0.3971, allocations: 17.72 kB / 0.7694 GB, free: 15.95 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.3972, allocations: 310.8 kB / 0.7696 GB, free: 15.64 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.22e-05/0.3972, allocations: 0 / 0.7696 GB, free: 15.64 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.243e-05/0.3973, allocations: 33.64 kB / 0.7697 GB, free: 15.6 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.375e-05/0.3973, allocations: 21.72 kB / 0.7697 GB, free: 15.57 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.3973, allocations: 0 / 0.7697 GB, free: 15.57 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.176e-05/0.3974, allocations: 53.58 kB / 0.7698 GB, free: 15.51 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.3974, allocations: 6.656 kB / 0.7698 GB, free: 15.51 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.3974, allocations: 4.266 kB / 0.7698 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.3974, allocations: 4 kB / 0.7698 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.765e-05/0.3975, allocations: 4 kB / 0.7698 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.3975, allocations: 8.031 kB / 0.7698 GB, free: 15.49 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.538e-05/0.3975, allocations: 4 kB / 0.7698 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.235e-06/0.3975, allocations: 3.984 kB / 0.7698 GB, free: 15.48 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 8.639e-05/0.3976, allocations: 109.8 kB / 0.7699 GB, free: 15.36 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.123e-05/0.3976, allocations: 7.984 kB / 0.7699 GB, free: 15.36 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001005/0.3977, allocations: 57 kB / 0.77 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.3977, allocations: 0 / 0.77 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.3978, allocations: 0 / 0.77 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.3978, allocations: 0 / 0.77 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001328/0.3979, allocations: 157.6 kB / 0.7701 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.3979, allocations: 4 kB / 0.7701 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.421e-05/0.3979, allocations: 4 kB / 0.7701 GB, free: 15.08 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.398, allocations: 0 / 0.7701 GB, free: 15.08 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.398, allocations: 7.938 kB / 0.7701 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.398, allocations: 0 / 0.7701 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.398, allocations: 0 / 0.7701 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001098/0.3981, allocations: 77.05 kB / 0.7702 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.226e-05/0.3981, allocations: 81.17 kB / 0.7703 GB, free: 14.88 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.21e-05/0.3982, allocations: 3.938 kB / 0.7703 GB, free: 14.88 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.347e-06/0.3982, allocations: 0 / 0.7703 GB, free: 14.88 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.45e-05/0.3982, allocations: 8.031 kB / 0.7703 GB, free: 14.87 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-06/0.3982, allocations: 0 / 0.7703 GB, free: 14.87 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.676e-05/0.3982, allocations: 75.28 kB / 0.7704 GB, free: 14.8 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.893e-06/0.3982, allocations: 0 / 0.7704 GB, free: 14.8 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002355/0.3985, allocations: 47.8 kB / 0.7704 GB, free: 14.75 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.0005897/0.3991, allocations: 0.6904 MB / 0.7711 GB, free: 14.03 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 7.961e-05/0.3992, allocations: 23.91 kB / 0.7711 GB, free: 14 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.3992, allocations: 0 / 0.7711 GB, free: 14 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.324e-05/0.3992, allocations: 8 kB / 0.7711 GB, free: 14 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001246/0.3993, allocations: 4 kB / 0.7711 GB, free: 13.99 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009601/0.4003, allocations: 1.115 MB / 0.7722 GB, free: 12.79 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002881/0.4006, allocations: 0.6729 MB / 0.7729 GB, free: 12.09 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.696e-05/0.4006, allocations: 7.984 kB / 0.7729 GB, free: 12.08 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.092e-05/0.4006, allocations: 7.438 kB / 0.7729 GB, free: 12.07 MB / 0.545 GB Notification: Performance of SimCode: time 2.2e-07/0.4007, allocations: 0 / 0.7729 GB, free: 12.07 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02531/0.426, allocations: 2.126 MB / 0.7749 GB, free: 10.06 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.549/7.975, allocations: 10.45 kB / 0.775 GB, free: 10.05 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerCurve_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 BuildingSystems_BuildingSystems_Fluid_Movers_BaseClasses_Validation_EulerCurve.fmu > BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerCurve.pipe 2>&1)