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.00118/0.00118, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001507/0.001507, allocations: 192.8 kB / 16.13 MB, free: 6.707 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.286/1.286, allocations: 222.9 MB / 239.8 MB, free: 4.641 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002013/0.002013, allocations: 280 kB / 290.2 MB, free: 2.238 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9389/0.9389, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001617/0.001617, allocations: 101.6 kB / 0.5946 GB, free: 28.28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1421/0.1438, allocations: 86.98 MB / 0.6795 GB, free: 1.059 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerCurve): time 0.001787/0.1456, allocations: 0.5849 MB / 0.6801 GB, free: 496 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.00124/0.1468, allocations: 0.6478 MB / 0.6808 GB, free: 15.83 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.054e-05/0.1469, allocations: 3.938 kB / 0.6808 GB, free: 15.83 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.38e-05/0.1469, allocations: 0 / 0.6808 GB, free: 15.83 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.811e-06/0.1469, allocations: 4 kB / 0.6808 GB, free: 15.82 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005704/0.1475, allocations: 131.7 kB / 0.6809 GB, free: 15.7 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.03e-05/0.1475, allocations: 4 kB / 0.6809 GB, free: 15.69 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.832e-05/0.1476, allocations: 4 kB / 0.6809 GB, free: 15.69 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.831e-05/0.1476, allocations: 0 / 0.6809 GB, free: 15.69 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.151e-05/0.1476, allocations: 3.938 kB / 0.6809 GB, free: 15.68 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.909e-06/0.1477, allocations: 4 kB / 0.6809 GB, free: 15.68 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003454/0.148, allocations: 207.7 kB / 0.6811 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.492e-05/0.148, allocations: 11.98 kB / 0.6811 GB, free: 15.46 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.845e-05/0.1481, allocations: 0 / 0.6811 GB, free: 15.46 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002353/0.1483, allocations: 131.7 kB / 0.6812 GB, free: 15.34 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.1483, allocations: 0 / 0.6812 GB, free: 15.34 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.1483, allocations: 0 / 0.6812 GB, free: 15.34 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.677e-06/0.1483, allocations: 0 / 0.6812 GB, free: 15.34 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.0003134/0.1486, allocations: 347.9 kB / 0.6816 GB, free: 14.95 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.1487, allocations: 8.031 kB / 0.6816 GB, free: 14.94 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.419e-05/0.1487, allocations: 34.75 kB / 0.6816 GB, free: 14.89 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.065e-05/0.1487, allocations: 4.938 kB / 0.6816 GB, free: 14.89 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001851/0.1489, allocations: 172.3 kB / 0.6818 GB, free: 14.68 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.976e-06/0.149, allocations: 384 / 0.6818 GB, free: 14.68 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.871e-05/0.149, allocations: 384 / 0.6818 GB, free: 14.68 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.785e-05/0.1491, allocations: 38.2 kB / 0.6818 GB, free: 14.64 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.1491, allocations: 3.938 kB / 0.6818 GB, free: 14.64 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-06/0.1491, allocations: 0 / 0.6818 GB, free: 14.64 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.1491, allocations: 4 kB / 0.6818 GB, free: 14.63 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.196e-05/0.1492, allocations: 7.984 kB / 0.6818 GB, free: 14.62 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002236/0.1494, allocations: 153.7 kB / 0.682 GB, free: 14.43 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.835e-05/0.1495, allocations: 30.58 kB / 0.682 GB, free: 14.39 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.01e-05/0.1495, allocations: 20.8 kB / 0.682 GB, free: 14.36 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009161/0.1504, allocations: 0.6883 MB / 0.6827 GB, free: 13.53 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.228e-05/0.1504, allocations: 34.56 kB / 0.6827 GB, free: 13.48 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.1504, allocations: 0 / 0.6827 GB, free: 13.48 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001336/0.1506, allocations: 45.62 kB / 0.6828 GB, free: 13.43 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.568e-05/0.1506, allocations: 55.41 kB / 0.6828 GB, free: 13.37 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.201e-05/0.1507, allocations: 97.84 kB / 0.6829 GB, free: 13.26 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.289e-05/0.1507, allocations: 25.7 kB / 0.6829 GB, free: 13.23 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.913e-05/0.1507, allocations: 84.14 kB / 0.683 GB, free: 13.14 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.716e-05/0.1507, allocations: 7.812 kB / 0.683 GB, free: 13.14 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.788e-05/0.1508, allocations: 17.72 kB / 0.683 GB, free: 13.11 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002048/0.151, allocations: 310.8 kB / 0.6833 GB, free: 12.8 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.047e-05/0.151, allocations: 19.86 kB / 0.6834 GB, free: 12.78 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.214e-05/0.151, allocations: 17.72 kB / 0.6834 GB, free: 12.76 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.112e-05/0.1511, allocations: 25.72 kB / 0.6834 GB, free: 12.73 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.1511, allocations: 0 / 0.6834 GB, free: 12.73 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.828e-05/0.1512, allocations: 49.95 kB / 0.6835 GB, free: 12.67 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.1512, allocations: 8 kB / 0.6835 GB, free: 12.66 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.1512, allocations: 3.938 kB / 0.6835 GB, free: 12.66 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.1512, allocations: 0 / 0.6835 GB, free: 12.66 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.976e-05/0.1513, allocations: 7.984 kB / 0.6835 GB, free: 12.65 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.1513, allocations: 4 kB / 0.6835 GB, free: 12.65 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.221e-05/0.1513, allocations: 0 / 0.6835 GB, free: 12.65 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.867e-06/0.1513, allocations: 0 / 0.6835 GB, free: 12.65 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.915e-05/0.1514, allocations: 119.2 kB / 0.6836 GB, free: 12.52 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.486e-06/0.1514, allocations: 3.984 kB / 0.6836 GB, free: 12.52 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.855e-05/0.1515, allocations: 57.05 kB / 0.6836 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.1515, allocations: 4 kB / 0.6837 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.1515, allocations: 0 / 0.6837 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.1515, allocations: 0 / 0.6837 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001332/0.1517, allocations: 157.7 kB / 0.6838 GB, free: 12.25 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1517, allocations: 0 / 0.6838 GB, free: 12.25 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.848e-05/0.1517, allocations: 4 kB / 0.6838 GB, free: 12.24 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.1517, allocations: 4 kB / 0.6838 GB, free: 12.24 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.1517, allocations: 11.86 kB / 0.6838 GB, free: 12.23 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.1517, allocations: 0 / 0.6838 GB, free: 12.23 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1517, allocations: 4 kB / 0.6838 GB, free: 12.22 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001094/0.1519, allocations: 72.97 kB / 0.6839 GB, free: 12.13 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.189e-05/0.1519, allocations: 81.05 kB / 0.684 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.661e-05/0.1519, allocations: 11.97 kB / 0.684 GB, free: 12.02 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.061e-05/0.1519, allocations: 4.062 kB / 0.684 GB, free: 12.02 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.637e-05/0.152, allocations: 3.984 kB / 0.684 GB, free: 12.02 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.395e-06/0.152, allocations: 0 / 0.684 GB, free: 12.02 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.556e-05/0.152, allocations: 75.28 kB / 0.6841 GB, free: 11.94 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.152, allocations: 0 / 0.6841 GB, free: 11.94 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002438/0.1522, allocations: 44 kB / 0.6841 GB, free: 11.9 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.0006784/0.1529, allocations: 0.6828 MB / 0.6848 GB, free: 11.18 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 6.916e-05/0.153, allocations: 23.91 kB / 0.6848 GB, free: 11.16 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.153, allocations: 0 / 0.6848 GB, free: 11.16 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.241e-05/0.153, allocations: 8 kB / 0.6848 GB, free: 11.15 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001243/0.1532, allocations: 1.719 kB / 0.6848 GB, free: 11.15 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009505/0.1541, allocations: 1.113 MB / 0.6859 GB, free: 9.953 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003442/0.1545, allocations: 0.6809 MB / 0.6866 GB, free: 9.246 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.683e-05/0.1545, allocations: 0 / 0.6866 GB, free: 9.246 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.142e-05/0.1545, allocations: 11.44 kB / 0.6866 GB, free: 9.238 MB / 494.1 MB Notification: Performance of SimCode: time 1.834e-06/0.1545, allocations: 0 / 0.6866 GB, free: 9.238 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01173/0.1663, allocations: 1.985 MB / 0.6885 GB, free: 7.375 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001777/0.1665, allocations: 220.4 kB / 0.6887 GB, free: 7.117 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.703/1.869, allocations: 0 / 0.6887 GB, free: 7.117 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)