Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.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: translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001005/0.001005, allocations: 91.06 kB / 15.06 MB, free: 1.098 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.001178/0.001178, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.333/1.333, allocations: 223.3 MB / 240 MB, free: 5.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00178/0.00178, allocations: 270.9 kB / 291.4 MB, free: 1.84 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9715/0.9715, allocations: 169.5 MB / 0.5 GB, free: 14.2 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003962/0.0003962, allocations: 14.16 kB / 0.598 GB, free: 28.47 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1366, allocations: 88.55 MB / 0.6845 GB, free: 15.43 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.001113/0.1377, allocations: 0.9864 MB / 0.6854 GB, free: 14.44 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008007/0.1385, allocations: 0.5518 MB / 0.686 GB, free: 13.89 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.328e-05/0.1386, allocations: 0.6562 kB / 0.686 GB, free: 13.89 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.056e-05/0.1386, allocations: 3.938 kB / 0.686 GB, free: 13.88 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.642e-05/0.1386, allocations: 1.938 kB / 0.686 GB, free: 13.88 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003814/0.139, allocations: 121 kB / 0.6861 GB, free: 13.77 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.381e-05/0.1391, allocations: 24.7 kB / 0.6861 GB, free: 13.74 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.442e-05/0.1391, allocations: 4 kB / 0.6861 GB, free: 13.74 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.692e-05/0.1391, allocations: 7.938 kB / 0.6861 GB, free: 13.73 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.078e-05/0.1392, allocations: 15.36 kB / 0.6862 GB, free: 13.72 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.686e-06/0.1392, allocations: 0 / 0.6862 GB, free: 13.72 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004582/0.1396, allocations: 339.3 kB / 0.6865 GB, free: 13.39 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.552e-06/0.1397, allocations: 0 / 0.6865 GB, free: 13.39 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.047e-05/0.1397, allocations: 29.7 kB / 0.6865 GB, free: 13.35 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001503/0.1398, allocations: 100.1 kB / 0.6866 GB, free: 13.25 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.1399, allocations: 0 / 0.6866 GB, free: 13.25 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1399, allocations: 4 kB / 0.6866 GB, free: 13.25 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.516e-06/0.1399, allocations: 0 / 0.6866 GB, free: 13.25 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003335/0.1402, allocations: 348.4 kB / 0.6869 GB, free: 12.86 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.309e-05/0.1403, allocations: 8.594 kB / 0.687 GB, free: 12.86 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.612e-05/0.1403, allocations: 11.95 kB / 0.687 GB, free: 12.84 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.735e-05/0.1404, allocations: 159.8 kB / 0.6871 GB, free: 12.65 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.448e-06/0.1404, allocations: 9.781 kB / 0.6871 GB, free: 12.64 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.009e-05/0.1404, allocations: 4 kB / 0.6871 GB, free: 12.64 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.414e-05/0.1405, allocations: 37.69 kB / 0.6872 GB, free: 12.59 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.571e-06/0.1405, allocations: 0 / 0.6872 GB, free: 12.59 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.106e-06/0.1405, allocations: 4.75 kB / 0.6872 GB, free: 12.59 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.356e-06/0.1405, allocations: 0 / 0.6872 GB, free: 12.59 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.194e-05/0.1406, allocations: 19.94 kB / 0.6872 GB, free: 12.57 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002746/0.1409, allocations: 254.5 kB / 0.6874 GB, free: 12.27 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001699/0.141, allocations: 52.34 kB / 0.6875 GB, free: 12.21 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.543e-05/0.1411, allocations: 24.83 kB / 0.6875 GB, free: 12.19 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.575e-05/0.1411, allocations: 3.938 kB / 0.6875 GB, free: 12.18 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.66e-05/0.1411, allocations: 33.03 kB / 0.6875 GB, free: 12.14 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.1411, allocations: 0 / 0.6875 GB, free: 12.14 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001409/0.1413, allocations: 61.64 kB / 0.6876 GB, free: 12.08 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.118e-05/0.1413, allocations: 51.41 kB / 0.6876 GB, free: 12.02 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.293e-05/0.1414, allocations: 102.5 kB / 0.6877 GB, free: 11.91 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.253e-05/0.1414, allocations: 29.69 kB / 0.6878 GB, free: 11.87 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.258e-05/0.1415, allocations: 81.92 kB / 0.6879 GB, free: 11.79 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.109e-05/0.1415, allocations: 11.81 kB / 0.6879 GB, free: 11.78 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.197e-06/0.1415, allocations: 4 kB / 0.6879 GB, free: 11.77 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.891e-05/0.1416, allocations: 313.7 kB / 0.6882 GB, free: 11.46 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.808e-05/0.1416, allocations: 7.984 kB / 0.6882 GB, free: 11.45 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.701e-05/0.1416, allocations: 17.72 kB / 0.6882 GB, free: 11.43 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.269e-05/0.1417, allocations: 15.94 kB / 0.6882 GB, free: 11.41 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.1417, allocations: 0 / 0.6882 GB, free: 11.41 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.478e-05/0.1418, allocations: 58.31 kB / 0.6883 GB, free: 11.35 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/0.1418, allocations: 8 kB / 0.6883 GB, free: 11.34 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.1418, allocations: 0.875 kB / 0.6883 GB, free: 11.34 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.675e-06/0.1418, allocations: 0 / 0.6883 GB, free: 11.34 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.906e-05/0.1419, allocations: 20.56 kB / 0.6883 GB, free: 11.32 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.1419, allocations: 0 / 0.6883 GB, free: 11.32 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.148e-05/0.1419, allocations: 0.5312 kB / 0.6883 GB, free: 11.32 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.1419, allocations: 5.062 kB / 0.6883 GB, free: 11.32 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.328e-05/0.142, allocations: 106.5 kB / 0.6884 GB, free: 11.21 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.402e-05/0.142, allocations: 5 kB / 0.6884 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000122/0.1421, allocations: 65.16 kB / 0.6885 GB, free: 11.13 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.1422, allocations: 7.984 kB / 0.6885 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.1422, allocations: 3.953 kB / 0.6885 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.1422, allocations: 0 / 0.6885 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001501/0.1423, allocations: 161.6 kB / 0.6886 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1423, allocations: 0 / 0.6886 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.686e-05/0.1424, allocations: 8 kB / 0.6886 GB, free: 10.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.1424, allocations: 0 / 0.6886 GB, free: 10.9 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.149e-06/0.1424, allocations: 0 / 0.6886 GB, free: 10.9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.1424, allocations: 4.125 kB / 0.6886 GB, free: 10.9 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.1424, allocations: 0 / 0.6886 GB, free: 10.9 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001141/0.1425, allocations: 163.3 kB / 0.6888 GB, free: 10.72 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.986e-05/0.1426, allocations: 77.62 kB / 0.6889 GB, free: 10.63 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.215e-05/0.1426, allocations: 4 kB / 0.6889 GB, free: 10.62 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.996e-05/0.1426, allocations: 3.984 kB / 0.6889 GB, free: 10.62 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.16e-05/0.1427, allocations: 0 / 0.6889 GB, free: 10.62 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-06/0.1427, allocations: 0 / 0.6889 GB, free: 10.62 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.721e-05/0.1427, allocations: 87.27 kB / 0.689 GB, free: 10.54 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1427, allocations: 4 kB / 0.689 GB, free: 10.53 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002433/0.143, allocations: 23.95 kB / 0.689 GB, free: 10.51 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001445/0.1431, allocations: 119.2 kB / 0.6891 GB, free: 10.38 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 7.322e-05/0.1432, allocations: 23.94 kB / 0.6891 GB, free: 10.36 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1432, allocations: 0 / 0.6891 GB, free: 10.36 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.902e-05/0.1432, allocations: 15.98 kB / 0.6891 GB, free: 10.34 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002023/0.1434, allocations: 4.688 kB / 0.6891 GB, free: 10.34 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002218/0.1437, allocations: 128.7 kB / 0.6893 GB, free: 10.18 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002116/0.1439, allocations: 0.6809 MB / 0.6899 GB, free: 9.477 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3e-05/0.1439, allocations: 0 / 0.6899 GB, free: 9.477 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.621e-05/0.1439, allocations: 11.44 kB / 0.6899 GB, free: 9.465 MB / 494.1 MB Notification: Performance of SimCode: time 2.41e-07/0.144, allocations: 0 / 0.6899 GB, free: 9.465 MB / 494.1 MB Notification: Performance of Templates: time 0.002187/0.1461, allocations: 0.4912 MB / 0.6904 GB, free: 8.984 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)