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.0009671/0.0009671, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.005749/0.005749, allocations: 171 kB / 16.27 MB, free: 6.332 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.334/1.334, allocations: 223.3 MB / 240.3 MB, free: 5.246 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001876/0.001876, allocations: 267.2 kB / 291.7 MB, free: 1.781 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9334/0.9334, allocations: 169.5 MB / 0.5004 GB, free: 14.06 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000386/0.0003859, allocations: 14.22 kB / 0.5988 GB, free: 27.93 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.1447, allocations: 88.54 MB / 0.6852 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerCurve): time 0.000584/0.1453, allocations: 260.6 kB / 0.6855 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001044/0.1463, allocations: 0.633 MB / 0.6861 GB, free: 14.07 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.015e-05/0.1464, allocations: 0 / 0.6861 GB, free: 14.07 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.034e-05/0.1464, allocations: 0 / 0.6861 GB, free: 14.07 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.468e-06/0.1464, allocations: 4 kB / 0.6861 GB, free: 14.07 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004902/0.1469, allocations: 134.8 kB / 0.6862 GB, free: 13.94 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 2.795e-05/0.1469, allocations: 0 / 0.6862 GB, free: 13.94 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.491e-05/0.147, allocations: 4 kB / 0.6862 GB, free: 13.94 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.221e-05/0.147, allocations: 0 / 0.6862 GB, free: 13.94 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.809e-05/0.147, allocations: 11.92 kB / 0.6863 GB, free: 13.93 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.227e-06/0.147, allocations: 4 kB / 0.6863 GB, free: 13.92 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003271/0.1474, allocations: 204.7 kB / 0.6865 GB, free: 13.72 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.235e-06/0.1474, allocations: 0.5625 kB / 0.6865 GB, free: 13.72 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.042e-05/0.1474, allocations: 30.86 kB / 0.6865 GB, free: 13.69 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002167/0.1477, allocations: 135.7 kB / 0.6866 GB, free: 13.55 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.1477, allocations: 0 / 0.6866 GB, free: 13.55 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1477, allocations: 3.938 kB / 0.6866 GB, free: 13.55 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.457e-06/0.1477, allocations: 1.375 kB / 0.6866 GB, free: 13.55 MB / 494.1 MB 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.0002795/0.148, allocations: 339.9 kB / 0.6869 GB, free: 13.17 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.148, allocations: 13.22 kB / 0.687 GB, free: 13.16 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.811e-05/0.148, allocations: 30.75 kB / 0.687 GB, free: 13.12 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.641e-05/0.1481, allocations: 0.9375 kB / 0.687 GB, free: 13.12 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.538e-05/0.1482, allocations: 172.8 kB / 0.6871 GB, free: 12.91 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.446e-06/0.1482, allocations: 384 / 0.6871 GB, free: 12.91 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.8e-05/0.1482, allocations: 5 kB / 0.6872 GB, free: 12.91 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.008e-05/0.1483, allocations: 34.86 kB / 0.6872 GB, free: 12.87 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.562e-06/0.1483, allocations: 6 kB / 0.6872 GB, free: 12.86 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.021e-06/0.1483, allocations: 0 / 0.6872 GB, free: 12.86 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.1483, allocations: 0 / 0.6872 GB, free: 12.86 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.051e-05/0.1484, allocations: 7.984 kB / 0.6872 GB, free: 12.86 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002055/0.1486, allocations: 153.7 kB / 0.6873 GB, free: 12.66 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.492e-05/0.1486, allocations: 35.92 kB / 0.6874 GB, free: 12.61 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.963e-05/0.1487, allocations: 15.33 kB / 0.6874 GB, free: 12.6 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008399/0.1495, allocations: 0.6904 MB / 0.6881 GB, free: 11.76 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.093e-05/0.1495, allocations: 30.56 kB / 0.6881 GB, free: 11.72 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.1496, allocations: 0 / 0.6881 GB, free: 11.72 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001227/0.1497, allocations: 50.41 kB / 0.6881 GB, free: 11.67 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.387e-05/0.1497, allocations: 57.06 kB / 0.6882 GB, free: 11.6 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.163e-05/0.1498, allocations: 89.86 kB / 0.6883 GB, free: 11.5 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.23e-05/0.1498, allocations: 29.69 kB / 0.6883 GB, free: 11.47 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.676e-05/0.1498, allocations: 88.14 kB / 0.6884 GB, free: 11.38 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.54e-05/0.1499, allocations: 16.69 kB / 0.6884 GB, free: 11.36 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.193e-05/0.1499, allocations: 9.719 kB / 0.6884 GB, free: 11.35 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001026/0.15, allocations: 311.5 kB / 0.6887 GB, free: 11.04 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.345e-05/0.15, allocations: 4.531 kB / 0.6887 GB, free: 11.03 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.459e-05/0.15, allocations: 22.92 kB / 0.6887 GB, free: 11 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.922e-05/0.1501, allocations: 22.84 kB / 0.6888 GB, free: 10.98 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1501, allocations: 0 / 0.6888 GB, free: 10.98 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.571e-05/0.1502, allocations: 57.61 kB / 0.6888 GB, free: 10.91 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.1502, allocations: 8 kB / 0.6888 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/0.1502, allocations: 3.938 kB / 0.6888 GB, free: 10.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.907e-06/0.1502, allocations: 0 / 0.6888 GB, free: 10.9 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.026e-05/0.1503, allocations: 4 kB / 0.6888 GB, free: 10.9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.1503, allocations: 4 kB / 0.6888 GB, free: 10.89 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.578e-05/0.1503, allocations: 3.984 kB / 0.6888 GB, free: 10.89 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.077e-06/0.1503, allocations: 0 / 0.6888 GB, free: 10.89 MB / 494.1 MB 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.836e-05/0.1504, allocations: 119.1 kB / 0.689 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.452e-06/0.1504, allocations: 4.031 kB / 0.689 GB, free: 10.76 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.867e-05/0.1505, allocations: 53.06 kB / 0.689 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.1505, allocations: 0 / 0.689 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.1505, allocations: 4 kB / 0.689 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.1505, allocations: 0 / 0.689 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000124/0.1506, allocations: 153.7 kB / 0.6892 GB, free: 10.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1506, allocations: 0 / 0.6892 GB, free: 10.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.067e-05/0.1507, allocations: 4 kB / 0.6892 GB, free: 10.49 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.1507, allocations: 0 / 0.6892 GB, free: 10.49 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.1507, allocations: 7.938 kB / 0.6892 GB, free: 10.48 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1507, allocations: 7.938 kB / 0.6892 GB, free: 10.48 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.1507, allocations: 7.922 kB / 0.6892 GB, free: 10.47 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.803e-05/0.1508, allocations: 73.03 kB / 0.6893 GB, free: 10.38 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.961e-05/0.1509, allocations: 81.05 kB / 0.6893 GB, free: 10.28 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.187e-05/0.1509, allocations: 7.938 kB / 0.6893 GB, free: 10.27 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.146e-05/0.1509, allocations: 4.031 kB / 0.6893 GB, free: 10.27 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.227e-06/0.1509, allocations: 0 / 0.6893 GB, free: 10.27 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.177e-06/0.1509, allocations: 3.984 kB / 0.6894 GB, free: 10.27 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.358e-05/0.1509, allocations: 79.34 kB / 0.6894 GB, free: 10.19 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.151, allocations: 0 / 0.6894 GB, free: 10.19 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002482/0.1512, allocations: 44 kB / 0.6895 GB, free: 10.14 MB / 494.1 MB 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.0005563/0.1518, allocations: 0.6867 MB / 0.6901 GB, free: 9.426 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 6.92e-05/0.1519, allocations: 16.05 kB / 0.6902 GB, free: 9.41 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1519, allocations: 0 / 0.6902 GB, free: 9.41 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.217e-05/0.1519, allocations: 11.94 kB / 0.6902 GB, free: 9.398 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001308/0.152, allocations: 6.109 kB / 0.6902 GB, free: 9.395 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008462/0.1529, allocations: 1.119 MB / 0.6913 GB, free: 8.191 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002271/0.1531, allocations: 0.6692 MB / 0.6919 GB, free: 7.496 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.453e-05/0.1531, allocations: 11.94 kB / 0.6919 GB, free: 7.484 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.096e-05/0.1532, allocations: 7.438 kB / 0.6919 GB, free: 7.477 MB / 494.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1532, allocations: 0 / 0.6919 GB, free: 7.477 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.011/0.1642, allocations: 1.923 MB / 0.6938 GB, free: 5.703 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001822/0.1644, allocations: 220.6 kB / 0.694 GB, free: 5.445 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.768/1.932, allocations: 2.531 kB / 0.694 GB, free: 5.445 MB / 494.1 MB (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)