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.005905/0.005906, allocations: 101.7 kB / 15.73 MB, free: 5.59 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.001205/0.001205, allocations: 191.7 kB / 16.67 MB, free: 5.523 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.238/1.238, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00201/0.00201, allocations: 281.9 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8681/0.8681, allocations: 169.2 MB / 0.4983 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001655/0.001655, allocations: 88.19 kB / 0.681 GB, free: 7.484 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3806/0.3823, allocations: 86.98 MB / 0.7659 GB, free: 3.848 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerCurve): time 0.001593/0.3839, allocations: 0.5228 MB / 0.7664 GB, free: 3.328 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001086/0.385, allocations: 0.6333 MB / 0.767 GB, free: 2.691 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.497e-05/0.3851, allocations: 0 / 0.767 GB, free: 2.691 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.525e-05/0.3851, allocations: 0 / 0.767 GB, free: 2.691 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.033e-06/0.3851, allocations: 0 / 0.767 GB, free: 2.691 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006156/0.3857, allocations: 167.5 kB / 0.7672 GB, free: 2.527 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 3.77e-05/0.3858, allocations: 11.98 kB / 0.7672 GB, free: 2.516 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.046e-05/0.3858, allocations: 7.984 kB / 0.7672 GB, free: 2.508 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.152e-05/0.3858, allocations: 0 / 0.7672 GB, free: 2.508 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 1.747e-05/0.3859, allocations: 4 kB / 0.7672 GB, free: 2.504 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.096e-06/0.3859, allocations: 3.938 kB / 0.7672 GB, free: 2.5 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002935/0.3862, allocations: 195.7 kB / 0.7674 GB, free: 2.309 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.548e-06/0.3862, allocations: 3.938 kB / 0.7674 GB, free: 2.305 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.464e-05/0.3862, allocations: 0 / 0.7674 GB, free: 2.305 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002009/0.3864, allocations: 123.8 kB / 0.7675 GB, free: 2.184 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.3864, allocations: 0 / 0.7675 GB, free: 2.184 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.605e-06/0.3864, allocations: 0 / 0.7675 GB, free: 2.184 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.3864, allocations: 7.938 kB / 0.7675 GB, free: 2.176 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.0003001/0.3867, allocations: 350.4 kB / 0.7679 GB, free: 1.785 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.28e-05/0.3868, allocations: 8.031 kB / 0.7679 GB, free: 1.777 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.369e-05/0.3868, allocations: 30.75 kB / 0.7679 GB, free: 1.738 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.017e-05/0.3868, allocations: 4.938 kB / 0.7679 GB, free: 1.734 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.151e-05/0.3869, allocations: 168.3 kB / 0.7681 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.044e-06/0.3869, allocations: 384 / 0.7681 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.914e-05/0.387, allocations: 384 / 0.7681 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.007e-05/0.387, allocations: 34.27 kB / 0.7681 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.3871, allocations: 7.938 kB / 0.7681 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.683e-06/0.3871, allocations: 0 / 0.7681 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.3871, allocations: 4 kB / 0.7681 GB, free: 1.48 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.118e-05/0.3871, allocations: 7.984 kB / 0.7681 GB, free: 1.473 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002039/0.3873, allocations: 157.7 kB / 0.7683 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 6.347e-05/0.3874, allocations: 34.5 kB / 0.7683 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.728e-05/0.3874, allocations: 8.859 kB / 0.7683 GB, free: 1.215 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007951/0.3882, allocations: 0.6884 MB / 0.769 GB, free: 388 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.861e-05/0.3882, allocations: 30.56 kB / 0.769 GB, free: 348 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.3883, allocations: 4 kB / 0.769 GB, free: 344 kB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0001263/0.3884, allocations: 53.53 kB / 0.7691 GB, free: 284 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.666e-05/0.3884, allocations: 55.34 kB / 0.7691 GB, free: 216 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.488e-05/0.3885, allocations: 101.8 kB / 0.7692 GB, free: 104 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 9.859e-06/0.3885, allocations: 25.7 kB / 0.7692 GB, free: 72 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.477e-05/0.3885, allocations: 84.12 kB / 0.7693 GB, free: 15.98 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/0.3885, allocations: 7.906 kB / 0.7693 GB, free: 15.98 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.525e-05/0.3886, allocations: 17.66 kB / 0.7693 GB, free: 15.95 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.77e-05/0.3887, allocations: 314.8 kB / 0.7696 GB, free: 15.64 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.817e-05/0.3887, allocations: 11.98 kB / 0.7697 GB, free: 15.62 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.995e-05/0.3887, allocations: 13.72 kB / 0.7697 GB, free: 15.61 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.908e-05/0.3888, allocations: 21.72 kB / 0.7697 GB, free: 15.58 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3888, allocations: 0 / 0.7697 GB, free: 15.58 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.499e-05/0.3888, allocations: 49.62 kB / 0.7697 GB, free: 15.52 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.3889, allocations: 8 kB / 0.7697 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.3889, allocations: 7.969 kB / 0.7698 GB, free: 15.51 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.3889, allocations: 0 / 0.7698 GB, free: 15.51 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.148e-05/0.3889, allocations: 15.98 kB / 0.7698 GB, free: 15.49 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.588e-06/0.3889, allocations: 0 / 0.7698 GB, free: 15.49 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.319e-05/0.3889, allocations: 3.938 kB / 0.7698 GB, free: 15.49 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.398e-06/0.389, allocations: 0 / 0.7698 GB, free: 15.49 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.075e-05/0.389, allocations: 116.2 kB / 0.7699 GB, free: 15.37 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.334e-06/0.389, allocations: 0 / 0.7699 GB, free: 15.37 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.268e-05/0.3891, allocations: 53.03 kB / 0.7699 GB, free: 15.31 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.778e-06/0.3891, allocations: 8 kB / 0.7699 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.085e-06/0.3891, allocations: 0 / 0.7699 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.3891, allocations: 0 / 0.7699 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001096/0.3893, allocations: 153.7 kB / 0.7701 GB, free: 15.1 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.3893, allocations: 0 / 0.7701 GB, free: 15.1 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.745e-05/0.3893, allocations: 4 kB / 0.7701 GB, free: 15.1 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.3893, allocations: 3.984 kB / 0.7701 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.214e-06/0.3893, allocations: 3.938 kB / 0.7701 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.3893, allocations: 4 kB / 0.7701 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.3893, allocations: 0 / 0.7701 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.892e-05/0.3894, allocations: 77.44 kB / 0.7702 GB, free: 14.99 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.135e-05/0.3895, allocations: 81.14 kB / 0.7703 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.155e-05/0.3895, allocations: 7.969 kB / 0.7703 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.077e-06/0.3895, allocations: 0 / 0.7703 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.367e-05/0.3895, allocations: 3.984 kB / 0.7703 GB, free: 14.88 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-06/0.3895, allocations: 4 kB / 0.7703 GB, free: 14.88 MB / 0.545 GB Notification: Performance of sorting global known variables: time 1.976e-05/0.3896, allocations: 79.22 kB / 0.7703 GB, free: 14.8 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.3896, allocations: 0 / 0.7703 GB, free: 14.8 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002281/0.3898, allocations: 52.06 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.0004788/0.3903, allocations: 0.6787 MB / 0.7711 GB, free: 14.04 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 7.221e-05/0.3904, allocations: 19.98 kB / 0.7711 GB, free: 14.02 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.3904, allocations: 128 / 0.7711 GB, free: 14.02 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.206e-05/0.3904, allocations: 11.94 kB / 0.7711 GB, free: 14.01 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001169/0.3905, allocations: 0 / 0.7711 GB, free: 14.01 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007742/0.3913, allocations: 1.115 MB / 0.7722 GB, free: 12.8 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001955/0.3915, allocations: 0.6729 MB / 0.7728 GB, free: 12.11 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.779e-05/0.3915, allocations: 7.984 kB / 0.7728 GB, free: 12.1 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.128e-05/0.3915, allocations: 11.38 kB / 0.7729 GB, free: 12.09 MB / 0.545 GB Notification: Performance of SimCode: time 2.71e-07/0.3916, allocations: 0 / 0.7729 GB, free: 12.09 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01742/0.409, allocations: 2.128 MB / 0.7749 GB, free: 10.07 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.965/7.374, allocations: 6.625 kB / 0.7749 GB, free: 10.07 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)