Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") translateModel(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7535/0.7535, allocations: 131 MB / 146.3 MB, free: 1.289 MB / 106.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009525/0.0009526, allocations: 183.8 kB / 176.4 MB, free: 4.859 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.329/1.329, allocations: 225.7 MB / 432 MB, free: 8.73 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008228/0.0008226, allocations: 93.56 kB / 0.5003 GB, free: 9.828 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003223/0.0003223, allocations: 16 kB / 0.5885 GB, free: 72.7 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.1183, allocations: 79.6 MB / 0.6663 GB, free: 8.93 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.001262/0.1196, allocations: 0.9666 MB / 0.6672 GB, free: 7.949 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001076/0.1207, allocations: 1.018 MB / 0.6682 GB, free: 6.82 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.381e-05/0.1207, allocations: 0 / 0.6682 GB, free: 6.82 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.333e-05/0.1208, allocations: 4 kB / 0.6682 GB, free: 6.816 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 3.288e-05/0.1208, allocations: 0 / 0.6682 GB, free: 6.816 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004126/0.1212, allocations: 115.6 kB / 0.6683 GB, free: 6.703 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 3.684e-05/0.1213, allocations: 11.94 kB / 0.6683 GB, free: 6.691 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.833e-05/0.1213, allocations: 7.984 kB / 0.6683 GB, free: 6.684 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.746e-05/0.1213, allocations: 3.938 kB / 0.6683 GB, free: 6.68 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.773e-05/0.1214, allocations: 4 kB / 0.6683 GB, free: 6.676 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 7.604e-06/0.1214, allocations: 4 kB / 0.6684 GB, free: 6.672 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000467/0.1219, allocations: 335.3 kB / 0.6687 GB, free: 6.344 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 8.916e-06/0.1219, allocations: 0 / 0.6687 GB, free: 6.344 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 3.367e-05/0.1219, allocations: 33.62 kB / 0.6687 GB, free: 6.305 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000254/0.1222, allocations: 136 kB / 0.6688 GB, free: 6.172 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1222, allocations: 0 / 0.6688 GB, free: 6.172 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1222, allocations: 0 / 0.6688 GB, free: 6.172 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.526e-06/0.1222, allocations: 0 / 0.6688 GB, free: 6.172 MB / 442.7 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.0003433/0.1226, allocations: 351.5 kB / 0.6692 GB, free: 5.777 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.1226, allocations: 12.03 kB / 0.6692 GB, free: 5.766 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.335e-05/0.1226, allocations: 4.875 kB / 0.6692 GB, free: 5.762 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001093/0.1228, allocations: 164.4 kB / 0.6693 GB, free: 5.562 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.1228, allocations: 4.375 kB / 0.6693 GB, free: 5.559 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.662e-06/0.1228, allocations: 384 / 0.6693 GB, free: 5.559 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007562/0.1235, allocations: 118.1 kB / 0.6695 GB, free: 5.438 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.1236, allocations: 192 / 0.6695 GB, free: 5.438 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.1236, allocations: 7.938 kB / 0.6695 GB, free: 5.43 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.1236, allocations: 4 kB / 0.6695 GB, free: 5.426 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006021/0.1242, allocations: 99.81 kB / 0.6696 GB, free: 5.328 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000154/0.1244, allocations: 153.7 kB / 0.6697 GB, free: 5.129 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006269/0.125, allocations: 110.5 kB / 0.6698 GB, free: 5.012 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.093e-05/0.125, allocations: 12.92 kB / 0.6698 GB, free: 4.996 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002038/0.1252, allocations: 93.09 kB / 0.6699 GB, free: 4.887 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/0.1253, allocations: 30.56 kB / 0.6699 GB, free: 4.848 MB / 442.7 MB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/0.1253, allocations: 0 / 0.6699 GB, free: 4.848 MB / 442.7 MB Notification: Performance of matching and sorting (n=2): time 0.001325/0.1266, allocations: 233.3 kB / 0.6702 GB, free: 4.613 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.558e-05/0.1267, allocations: 55.41 kB / 0.6702 GB, free: 4.547 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.336e-05/0.1267, allocations: 93.86 kB / 0.6703 GB, free: 4.445 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.312e-05/0.1268, allocations: 25.7 kB / 0.6703 GB, free: 4.414 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.769e-05/0.1268, allocations: 84.3 kB / 0.6704 GB, free: 4.328 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.096e-05/0.1268, allocations: 4 kB / 0.6704 GB, free: 4.324 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.158e-06/0.1268, allocations: 0 / 0.6704 GB, free: 4.324 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.1269, allocations: 314.8 kB / 0.6707 GB, free: 4.008 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001194/0.1271, allocations: 19.97 kB / 0.6707 GB, free: 3.988 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001097/0.1272, allocations: 23.98 kB / 0.6708 GB, free: 3.965 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002289/0.1274, allocations: 52.88 kB / 0.6708 GB, free: 3.91 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1274, allocations: 0 / 0.6708 GB, free: 3.91 MB / 442.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002719/0.1277, allocations: 81.52 kB / 0.6709 GB, free: 3.824 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.1277, allocations: 7.984 kB / 0.6709 GB, free: 3.816 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.1277, allocations: 3.938 kB / 0.6709 GB, free: 3.812 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.1278, allocations: 4 kB / 0.6709 GB, free: 3.809 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001369/0.1291, allocations: 203.8 kB / 0.6711 GB, free: 3.609 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003279/0.1324, allocations: 1.633 MB / 0.6727 GB, free: 1.848 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.342e-05/0.1325, allocations: 12.02 kB / 0.6727 GB, free: 1.836 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.834e-06/0.1325, allocations: 0 / 0.6727 GB, free: 1.836 MB / 442.7 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 7.501e-05/0.1326, allocations: 109.8 kB / 0.6728 GB, free: 1.719 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.105e-05/0.1326, allocations: 11.92 kB / 0.6728 GB, free: 1.707 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.829e-05/0.1327, allocations: 11.19 kB / 0.6728 GB, free: 1.695 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.1327, allocations: 0 / 0.6728 GB, free: 1.695 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.62e-07/0.1327, allocations: 0 / 0.6728 GB, free: 1.695 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.1327, allocations: 0 / 0.6728 GB, free: 1.695 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001047/0.1328, allocations: 157.6 kB / 0.673 GB, free: 1.492 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1328, allocations: 0 / 0.673 GB, free: 1.492 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001386/0.1342, allocations: 215.8 kB / 0.6732 GB, free: 1.281 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.1342, allocations: 0 / 0.6732 GB, free: 1.281 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.1342, allocations: 4 kB / 0.6732 GB, free: 1.277 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00309/0.1373, allocations: 1.63 MB / 0.6748 GB, free: 15.52 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1373, allocations: 0 / 0.6748 GB, free: 15.52 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002825/0.1376, allocations: 109.2 kB / 0.6749 GB, free: 15.39 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.811e-05/0.1377, allocations: 89.02 kB / 0.675 GB, free: 15.29 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.025e-05/0.1377, allocations: 3.984 kB / 0.675 GB, free: 15.28 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.292e-05/0.1378, allocations: 15.97 kB / 0.675 GB, free: 15.27 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.894e-05/0.1378, allocations: 7.922 kB / 0.675 GB, free: 15.26 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.1378, allocations: 0 / 0.675 GB, free: 15.26 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.335e-05/0.1379, allocations: 79.28 kB / 0.6751 GB, free: 15.18 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1379, allocations: 0 / 0.6751 GB, free: 15.18 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001962/0.1381, allocations: 11.94 kB / 0.6751 GB, free: 15.17 MB / 458.7 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.0001376/0.1382, allocations: 107.9 kB / 0.6752 GB, free: 15.05 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001623/0.1398, allocations: 263.7 kB / 0.6754 GB, free: 14.8 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1399, allocations: 0 / 0.6754 GB, free: 14.8 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001499/0.1414, allocations: 247.8 kB / 0.6757 GB, free: 14.55 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001382/0.1415, allocations: 4 kB / 0.6757 GB, free: 14.55 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001844/0.1434, allocations: 366.9 kB / 0.676 GB, free: 14.16 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002088/0.1436, allocations: 0.6731 MB / 0.6767 GB, free: 13.46 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 1.763e-05/0.1436, allocations: 4 kB / 0.6767 GB, free: 13.46 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.402e-05/0.1436, allocations: 11.44 kB / 0.6767 GB, free: 13.45 MB / 458.7 MB Notification: Performance of SimCode: time 2.1e-07/0.1436, allocations: 0 / 0.6767 GB, free: 13.45 MB / 458.7 MB Notification: Performance of Templates: time 0.002044/0.1457, allocations: 0.5171 MB / 0.6772 GB, free: 12.93 MB / 458.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)