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.0008143/0.0008145, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.000848/0.0008481, allocations: 177.3 kB / 15.95 MB, free: 216 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.168/1.168, allocations: 223.2 MB / 239.9 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001723/0.001723, allocations: 270.7 kB / 291.3 MB, free: 1.922 MB / 238.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:5:3-5:34:writable] Warning: Got element f_alp that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_lay but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Got element f_lay that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_loss but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Got element f_loss that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_pv but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Got element f_pv that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:2:1-34:14:writable] Warning: f_pv was referenced in the package.order file, but was not found in package.mo, f_pv/package.mo or f_pv.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7363/0.7363, allocations: 144.6 MB / 487 MB, free: 7.18 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004023/0.0004023, allocations: 17.44 kB / 0.5683 GB, free: 38.24 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.125, allocations: 83.08 MB / 0.6494 GB, free: 3.598 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.001179/0.1263, allocations: 0.9897 MB / 0.6504 GB, free: 2.598 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007169/0.127, allocations: 0.5187 MB / 0.6509 GB, free: 2.082 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.607e-05/0.127, allocations: 1.656 kB / 0.6509 GB, free: 2.082 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.367e-05/0.127, allocations: 0 / 0.6509 GB, free: 2.082 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.211e-05/0.1271, allocations: 15.91 kB / 0.6509 GB, free: 2.066 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000406/0.1275, allocations: 110.5 kB / 0.651 GB, free: 1.961 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.113e-05/0.1276, allocations: 15.97 kB / 0.651 GB, free: 1.945 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.654e-05/0.1276, allocations: 7.938 kB / 0.651 GB, free: 1.938 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.812e-05/0.1276, allocations: 11.88 kB / 0.6511 GB, free: 1.926 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.399e-05/0.1277, allocations: 11.97 kB / 0.6511 GB, free: 1.914 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.908e-06/0.1277, allocations: 0 / 0.6511 GB, free: 1.914 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004484/0.1281, allocations: 359.9 kB / 0.6514 GB, free: 1.562 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.566e-06/0.1282, allocations: 4.594 kB / 0.6514 GB, free: 1.559 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.096e-05/0.1282, allocations: 25.7 kB / 0.6514 GB, free: 1.527 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001664/0.1284, allocations: 100.7 kB / 0.6515 GB, free: 1.43 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.1284, allocations: 1.188 kB / 0.6515 GB, free: 1.43 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1284, allocations: 0 / 0.6515 GB, free: 1.43 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.895e-06/0.1284, allocations: 0 / 0.6515 GB, free: 1.43 MB / 446.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.0003373/0.1287, allocations: 355.9 kB / 0.6519 GB, free: 1.035 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.031e-05/0.1288, allocations: 9.438 kB / 0.6519 GB, free: 1.027 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.614e-05/0.1288, allocations: 7.844 kB / 0.6519 GB, free: 1.02 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.624e-05/0.1289, allocations: 175 kB / 0.6521 GB, free: 0.8086 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.1289, allocations: 1.312 kB / 0.6521 GB, free: 0.8086 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.006e-05/0.1289, allocations: 7.984 kB / 0.6521 GB, free: 0.8008 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.842e-05/0.129, allocations: 37.7 kB / 0.6521 GB, free: 0.7578 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.129, allocations: 4.703 kB / 0.6521 GB, free: 0.7539 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.765e-06/0.1291, allocations: 0 / 0.6521 GB, free: 0.7539 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.1291, allocations: 1.25 kB / 0.6521 GB, free: 0.7539 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.289e-05/0.1291, allocations: 16 kB / 0.6521 GB, free: 0.7383 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002777/0.1294, allocations: 253.5 kB / 0.6524 GB, free: 452 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001695/0.1296, allocations: 44.38 kB / 0.6524 GB, free: 400 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.973e-05/0.1296, allocations: 4 kB / 0.6524 GB, free: 396 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.144e-05/0.1296, allocations: 39.58 kB / 0.6525 GB, free: 348 kB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.1296, allocations: 1.719 kB / 0.6525 GB, free: 348 kB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001429/0.1298, allocations: 57.62 kB / 0.6525 GB, free: 284 kB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.119e-05/0.1298, allocations: 55.41 kB / 0.6526 GB, free: 216 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.676e-05/0.1299, allocations: 94.61 kB / 0.6527 GB, free: 112 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.105e-05/0.1299, allocations: 25.7 kB / 0.6527 GB, free: 80 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.211e-05/0.13, allocations: 88.64 kB / 0.6528 GB, free: 15.99 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.438e-05/0.13, allocations: 15.73 kB / 0.6528 GB, free: 15.97 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.997e-06/0.13, allocations: 5.438 kB / 0.6528 GB, free: 15.97 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.133e-05/0.1301, allocations: 318.8 kB / 0.6531 GB, free: 15.65 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.711e-05/0.1301, allocations: 4.719 kB / 0.6531 GB, free: 15.64 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.982e-05/0.1301, allocations: 22.42 kB / 0.6531 GB, free: 15.62 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.658e-05/0.1302, allocations: 16.62 kB / 0.6531 GB, free: 15.6 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.1302, allocations: 0 / 0.6531 GB, free: 15.6 MB / 462.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.045e-05/0.1303, allocations: 54.66 kB / 0.6532 GB, free: 15.54 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.1303, allocations: 4 kB / 0.6532 GB, free: 15.54 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.1303, allocations: 5.656 kB / 0.6532 GB, free: 15.54 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/0.1303, allocations: 3.938 kB / 0.6532 GB, free: 15.53 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.623e-05/0.1304, allocations: 8 kB / 0.6532 GB, free: 15.52 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.1304, allocations: 0 / 0.6532 GB, free: 15.52 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.438e-05/0.1304, allocations: 0.875 kB / 0.6532 GB, free: 15.52 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.693e-06/0.1304, allocations: 4 kB / 0.6532 GB, free: 15.52 MB / 462.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.619e-05/0.1305, allocations: 122.4 kB / 0.6533 GB, free: 15.39 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.985e-05/0.1305, allocations: 0.75 kB / 0.6533 GB, free: 15.39 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001257/0.1307, allocations: 63.09 kB / 0.6534 GB, free: 15.32 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.1307, allocations: 480 / 0.6534 GB, free: 15.32 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.1307, allocations: 0 / 0.6534 GB, free: 15.32 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.1307, allocations: 4 kB / 0.6534 GB, free: 15.32 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001328/0.1308, allocations: 157.6 kB / 0.6535 GB, free: 15.12 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1308, allocations: 0.5938 kB / 0.6535 GB, free: 15.12 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.46e-05/0.1309, allocations: 7.984 kB / 0.6535 GB, free: 15.11 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.479e-06/0.1309, allocations: 10.11 kB / 0.6536 GB, free: 15.1 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.48e-06/0.1309, allocations: 0 / 0.6536 GB, free: 15.1 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.1309, allocations: 0 / 0.6536 GB, free: 15.1 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.1309, allocations: 0 / 0.6536 GB, free: 15.1 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001146/0.131, allocations: 152.7 kB / 0.6537 GB, free: 14.94 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.974e-05/0.1311, allocations: 77.11 kB / 0.6538 GB, free: 14.84 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.423e-05/0.1311, allocations: 5.281 kB / 0.6538 GB, free: 14.84 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.537e-05/0.1311, allocations: 0 / 0.6538 GB, free: 14.84 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.337e-05/0.1311, allocations: 7.984 kB / 0.6538 GB, free: 14.83 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.487e-06/0.1312, allocations: 1.031 kB / 0.6538 GB, free: 14.83 MB / 462.1 MB Notification: Performance of sorting global known variables: time 2.993e-05/0.1312, allocations: 79.28 kB / 0.6539 GB, free: 14.75 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1312, allocations: 0 / 0.6539 GB, free: 14.75 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002329/0.1314, allocations: 20.59 kB / 0.6539 GB, free: 14.73 MB / 462.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.0001556/0.1316, allocations: 124.9 kB / 0.654 GB, free: 14.6 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 9.289e-05/0.1317, allocations: 27.92 kB / 0.654 GB, free: 14.57 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.1317, allocations: 4.562 kB / 0.654 GB, free: 14.57 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 1.648e-05/0.1317, allocations: 8 kB / 0.654 GB, free: 14.56 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001263/0.1319, allocations: 10.47 kB / 0.6541 GB, free: 14.55 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002538/0.1321, allocations: 139 kB / 0.6542 GB, free: 14.39 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000226/0.1324, allocations: 0.6848 MB / 0.6549 GB, free: 13.68 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 3.158e-05/0.1324, allocations: 2.062 kB / 0.6549 GB, free: 13.68 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.755e-05/0.1324, allocations: 11.44 kB / 0.6549 GB, free: 13.67 MB / 462.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1324, allocations: 0 / 0.6549 GB, free: 13.67 MB / 462.1 MB Notification: Performance of Templates: time 0.002034/0.1345, allocations: 496.8 kB / 0.6553 GB, free: 13.2 MB / 462.1 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: