Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",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.001183/0.001183, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001176/0.001176, allocations: 195.7 kB / 16.26 MB, free: 6.621 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.228/1.228, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001913/0.001913, allocations: 282.4 kB / 290.3 MB, free: 2.148 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.876/0.876, allocations: 169.2 MB / 0.4978 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001642/0.001641, allocations: 100.7 kB / 0.5948 GB, free: 27.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1324, allocations: 86.97 MB / 0.6797 GB, free: 0.9531 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002492/0.1349, allocations: 1.302 MB / 0.681 GB, free: 15.64 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008397/0.1358, allocations: 0.5883 MB / 0.6816 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.641e-05/0.1358, allocations: 0 / 0.6816 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.628e-05/0.1359, allocations: 0 / 0.6816 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.562e-05/0.1359, allocations: 0 / 0.6816 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004738/0.1364, allocations: 133.2 kB / 0.6817 GB, free: 14.93 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.081e-05/0.1364, allocations: 11.92 kB / 0.6817 GB, free: 14.91 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.094e-05/0.1365, allocations: 4 kB / 0.6817 GB, free: 14.91 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.732e-05/0.1365, allocations: 0 / 0.6817 GB, free: 14.91 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.696e-05/0.1366, allocations: 7.938 kB / 0.6817 GB, free: 14.9 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.037e-06/0.1366, allocations: 0 / 0.6817 GB, free: 14.9 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004469/0.137, allocations: 351.2 kB / 0.6821 GB, free: 14.56 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.116e-05/0.137, allocations: 4 kB / 0.6821 GB, free: 14.55 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.64e-05/0.1371, allocations: 4 kB / 0.6821 GB, free: 14.55 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002334/0.1373, allocations: 143.9 kB / 0.6822 GB, free: 14.41 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.1373, allocations: 0 / 0.6822 GB, free: 14.41 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1373, allocations: 0 / 0.6822 GB, free: 14.41 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.598e-06/0.1373, allocations: 0 / 0.6822 GB, free: 14.41 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000361/0.1377, allocations: 347.5 kB / 0.6825 GB, free: 14.02 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.1377, allocations: 12.03 kB / 0.6826 GB, free: 14.01 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.149e-05/0.1378, allocations: 30.75 kB / 0.6826 GB, free: 13.97 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.862e-05/0.1378, allocations: 0.9375 kB / 0.6826 GB, free: 13.97 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.79e-05/0.1379, allocations: 168.4 kB / 0.6827 GB, free: 13.77 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.055e-06/0.1379, allocations: 384 / 0.6827 GB, free: 13.77 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.873e-06/0.1379, allocations: 4.375 kB / 0.6828 GB, free: 13.76 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.727e-05/0.138, allocations: 30.27 kB / 0.6828 GB, free: 13.73 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.138, allocations: 3.938 kB / 0.6828 GB, free: 13.72 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.622e-06/0.138, allocations: 4 kB / 0.6828 GB, free: 13.72 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.138, allocations: 0 / 0.6828 GB, free: 13.72 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.083e-05/0.1381, allocations: 3.938 kB / 0.6828 GB, free: 13.71 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001262/0.1382, allocations: 157.6 kB / 0.6829 GB, free: 13.51 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.662e-05/0.1383, allocations: 26.55 kB / 0.683 GB, free: 13.48 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.811e-05/0.1383, allocations: 12.92 kB / 0.683 GB, free: 13.46 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.574e-05/0.1383, allocations: 0 / 0.683 GB, free: 13.46 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.793e-05/0.1383, allocations: 34.55 kB / 0.683 GB, free: 13.42 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 7.62e-07/0.1383, allocations: 4 kB / 0.683 GB, free: 13.41 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001068/0.1384, allocations: 41.58 kB / 0.6831 GB, free: 13.37 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.81e-05/0.1385, allocations: 55.53 kB / 0.6831 GB, free: 13.3 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.753e-05/0.1385, allocations: 97.86 kB / 0.6832 GB, free: 13.2 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.023e-05/0.1386, allocations: 25.7 kB / 0.6832 GB, free: 13.16 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.432e-05/0.1386, allocations: 84.12 kB / 0.6833 GB, free: 13.08 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.683e-05/0.1386, allocations: 3.906 kB / 0.6833 GB, free: 13.07 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.71e-05/0.1386, allocations: 17.72 kB / 0.6833 GB, free: 13.05 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.632e-05/0.1387, allocations: 310.8 kB / 0.6836 GB, free: 12.74 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.17e-05/0.1388, allocations: 4.125 kB / 0.6836 GB, free: 12.73 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.023e-06/0.1388, allocations: 4 kB / 0.6836 GB, free: 12.73 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.679e-05/0.1388, allocations: 12.86 kB / 0.6836 GB, free: 12.71 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.1388, allocations: 0 / 0.6836 GB, free: 12.71 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.75e-05/0.1389, allocations: 49.62 kB / 0.6837 GB, free: 12.66 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.08e-05/0.1389, allocations: 7.938 kB / 0.6837 GB, free: 12.65 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.046e-06/0.1389, allocations: 0 / 0.6837 GB, free: 12.65 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.316e-06/0.1389, allocations: 0 / 0.6837 GB, free: 12.65 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001299/0.139, allocations: 11.98 kB / 0.6837 GB, free: 12.64 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003108/0.1394, allocations: 0.5861 MB / 0.6843 GB, free: 12.03 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.77e-05/0.1394, allocations: 4 kB / 0.6843 GB, free: 12.03 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.178e-06/0.1394, allocations: 0 / 0.6843 GB, free: 12.03 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 6.411e-05/0.1395, allocations: 120.7 kB / 0.6844 GB, free: 11.9 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.893e-06/0.1395, allocations: 0 / 0.6844 GB, free: 11.9 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.962e-05/0.1396, allocations: 52.89 kB / 0.6845 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.1396, allocations: 0 / 0.6845 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.1396, allocations: 0 / 0.6845 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.1396, allocations: 4 kB / 0.6845 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.236e-05/0.1397, allocations: 161.5 kB / 0.6846 GB, free: 11.63 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.1397, allocations: 0 / 0.6846 GB, free: 11.63 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.648e-05/0.1398, allocations: 8 kB / 0.6846 GB, free: 11.62 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.1398, allocations: 0 / 0.6846 GB, free: 11.62 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/0.1398, allocations: 7.984 kB / 0.6846 GB, free: 11.62 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002744/0.1401, allocations: 0.5975 MB / 0.6852 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.1401, allocations: 3.938 kB / 0.6852 GB, free: 10.99 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.826e-05/0.1401, allocations: 57.17 kB / 0.6853 GB, free: 10.92 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.755e-05/0.1402, allocations: 81.09 kB / 0.6853 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.022e-05/0.1402, allocations: 4 kB / 0.6853 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.502e-05/0.1402, allocations: 4.125 kB / 0.6854 GB, free: 10.81 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.969e-06/0.1402, allocations: 3.938 kB / 0.6854 GB, free: 10.81 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-06/0.1402, allocations: 0 / 0.6854 GB, free: 10.81 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.859e-05/0.1403, allocations: 79.28 kB / 0.6854 GB, free: 10.73 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1403, allocations: 0 / 0.6854 GB, free: 10.73 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001774/0.1405, allocations: 8 kB / 0.6854 GB, free: 10.72 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003403/0.1408, allocations: 0.6164 MB / 0.686 GB, free: 10.07 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001514/0.141, allocations: 15.98 kB / 0.6861 GB, free: 10.06 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.141, allocations: 0 / 0.6861 GB, free: 10.06 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.281e-05/0.1411, allocations: 23.92 kB / 0.6861 GB, free: 10.04 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001218/0.1412, allocations: 3.938 kB / 0.6861 GB, free: 10.03 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003521/0.1416, allocations: 139.9 kB / 0.6862 GB, free: 9.855 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002077/0.1418, allocations: 0.6728 MB / 0.6869 GB, free: 9.156 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.303e-05/0.1418, allocations: 4 kB / 0.6869 GB, free: 9.152 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.753e-05/0.1418, allocations: 7.438 kB / 0.6869 GB, free: 9.148 MB / 494.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1418, allocations: 0 / 0.6869 GB, free: 9.148 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01113/0.153, allocations: 1.257 MB / 0.6881 GB, free: 8.145 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002052/0.1532, allocations: 291 kB / 0.6884 GB, free: 7.754 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.588/1.742, allocations: 2.406 kB / 0.6884 GB, free: 7.754 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.fmu > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)