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: "" <> buildModelFMU(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",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.001142/0.001142, 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.0009664/0.0009664, allocations: 201.1 kB / 16.14 MB, free: 6.664 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.222/1.222, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001973/0.001973, allocations: 283.1 kB / 290.2 MB, free: 2.188 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8826/0.8826, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001601/0.001601, allocations: 91.47 kB / 0.5946 GB, free: 28.39 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.1371, allocations: 86.97 MB / 0.6795 GB, free: 1.09 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002103/0.1392, allocations: 1.346 MB / 0.6809 GB, free: 15.74 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008638/0.1401, allocations: 0.6116 MB / 0.6815 GB, free: 15.13 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.29e-05/0.1401, allocations: 0 / 0.6815 GB, free: 15.13 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.638e-05/0.1401, allocations: 3.938 kB / 0.6815 GB, free: 15.13 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.588e-05/0.1402, allocations: 3.984 kB / 0.6815 GB, free: 15.12 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003805/0.1406, allocations: 127.6 kB / 0.6816 GB, free: 15 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.135e-05/0.1406, allocations: 19.86 kB / 0.6816 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.413e-05/0.1407, allocations: 4 kB / 0.6816 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.902e-05/0.1407, allocations: 11.94 kB / 0.6816 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.906e-05/0.1407, allocations: 11.97 kB / 0.6816 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.899e-06/0.1408, allocations: 0 / 0.6816 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004275/0.1412, allocations: 335.4 kB / 0.6819 GB, free: 14.62 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.506e-05/0.1412, allocations: 7.938 kB / 0.682 GB, free: 14.62 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.496e-05/0.1412, allocations: 15.92 kB / 0.682 GB, free: 14.6 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002217/0.1415, allocations: 151.9 kB / 0.6821 GB, free: 14.45 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.1415, allocations: 0 / 0.6821 GB, free: 14.45 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.92e-07/0.1415, allocations: 0 / 0.6821 GB, free: 14.45 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.336e-06/0.1415, allocations: 0 / 0.6821 GB, free: 14.45 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.0003736/0.1419, allocations: 355.5 kB / 0.6825 GB, free: 14.05 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.1419, allocations: 8.031 kB / 0.6825 GB, free: 14.05 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.12e-05/0.142, allocations: 42.69 kB / 0.6825 GB, free: 14 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.193e-05/0.142, allocations: 4.844 kB / 0.6825 GB, free: 13.99 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.665e-05/0.1421, allocations: 164.4 kB / 0.6827 GB, free: 13.79 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.192e-06/0.1421, allocations: 4.375 kB / 0.6827 GB, free: 13.79 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.01e-05/0.1421, allocations: 4.375 kB / 0.6827 GB, free: 13.79 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.463e-05/0.1422, allocations: 42.25 kB / 0.6827 GB, free: 13.74 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.1422, allocations: 3.938 kB / 0.6827 GB, free: 13.73 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.286e-06/0.1422, allocations: 4 kB / 0.6827 GB, free: 13.73 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.1422, allocations: 0 / 0.6827 GB, free: 13.73 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.229e-05/0.1423, allocations: 8 kB / 0.6827 GB, free: 13.72 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002879/0.1426, allocations: 264.8 kB / 0.683 GB, free: 13.41 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001733/0.1428, allocations: 54.56 kB / 0.683 GB, free: 13.35 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.172e-05/0.1428, allocations: 16.86 kB / 0.683 GB, free: 13.33 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.546e-05/0.1428, allocations: 0 / 0.683 GB, free: 13.33 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.911e-05/0.1429, allocations: 34.56 kB / 0.6831 GB, free: 13.29 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.1429, allocations: 0 / 0.6831 GB, free: 13.29 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001555/0.143, allocations: 57.62 kB / 0.6831 GB, free: 13.23 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.549e-05/0.1431, allocations: 55.41 kB / 0.6832 GB, free: 13.16 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.886e-05/0.1431, allocations: 97.84 kB / 0.6833 GB, free: 13.05 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.249e-05/0.1431, allocations: 25.7 kB / 0.6833 GB, free: 13.02 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.746e-05/0.1432, allocations: 92.05 kB / 0.6834 GB, free: 12.93 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.038e-05/0.1432, allocations: 7.891 kB / 0.6834 GB, free: 12.92 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.239e-05/0.1432, allocations: 25.61 kB / 0.6834 GB, free: 12.89 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.366e-05/0.1433, allocations: 310.8 kB / 0.6837 GB, free: 12.58 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.971e-05/0.1434, allocations: 8 kB / 0.6837 GB, free: 12.57 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.613e-05/0.1434, allocations: 25.7 kB / 0.6838 GB, free: 12.54 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.609e-05/0.1435, allocations: 34.03 kB / 0.6838 GB, free: 12.5 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.1435, allocations: 3.938 kB / 0.6838 GB, free: 12.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.276e-05/0.1436, allocations: 57.72 kB / 0.6838 GB, free: 12.43 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.1436, allocations: 8 kB / 0.6839 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.1436, allocations: 0 / 0.6839 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.979e-06/0.1436, allocations: 0 / 0.6839 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.736e-05/0.1437, allocations: 15.97 kB / 0.6839 GB, free: 12.41 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.782e-06/0.1437, allocations: 0 / 0.6839 GB, free: 12.41 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.268e-05/0.1437, allocations: 3.938 kB / 0.6839 GB, free: 12.41 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.296e-06/0.1437, allocations: 7.984 kB / 0.6839 GB, free: 12.4 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.453e-05/0.1438, allocations: 111.1 kB / 0.684 GB, free: 12.28 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.401e-05/0.1438, allocations: 4 kB / 0.684 GB, free: 12.28 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000135/0.1439, allocations: 61.12 kB / 0.684 GB, free: 12.21 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-06/0.144, allocations: 4 kB / 0.6841 GB, free: 12.2 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.144, allocations: 4 kB / 0.6841 GB, free: 12.2 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.144, allocations: 3.938 kB / 0.6841 GB, free: 12.2 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001481/0.1441, allocations: 165.6 kB / 0.6842 GB, free: 11.98 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.1441, allocations: 4 kB / 0.6842 GB, free: 11.98 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.669e-05/0.1442, allocations: 11.98 kB / 0.6842 GB, free: 11.97 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.1442, allocations: 0 / 0.6842 GB, free: 11.97 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.132e-06/0.1442, allocations: 0 / 0.6842 GB, free: 11.97 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.1442, allocations: 0 / 0.6842 GB, free: 11.97 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1442, allocations: 0 / 0.6842 GB, free: 11.97 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001055/0.1443, allocations: 151.5 kB / 0.6844 GB, free: 11.8 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.761e-05/0.1444, allocations: 81.11 kB / 0.6845 GB, free: 11.71 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.057e-05/0.1444, allocations: 0 / 0.6845 GB, free: 11.71 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.022e-05/0.1444, allocations: 0 / 0.6845 GB, free: 11.71 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.482e-05/0.1444, allocations: 3.984 kB / 0.6845 GB, free: 11.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-06/0.1445, allocations: 4 kB / 0.6845 GB, free: 11.7 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.081e-05/0.1445, allocations: 79.28 kB / 0.6845 GB, free: 11.62 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1445, allocations: 3.938 kB / 0.6845 GB, free: 11.62 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002378/0.1447, allocations: 20 kB / 0.6846 GB, free: 11.6 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 (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.0003896/0.1451, allocations: 0.7046 MB / 0.6852 GB, free: 10.86 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 7.256e-05/0.1452, allocations: 19.94 kB / 0.6853 GB, free: 10.84 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.1452, allocations: 0 / 0.6853 GB, free: 10.84 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.106e-05/0.1453, allocations: 15.98 kB / 0.6853 GB, free: 10.83 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002039/0.1455, allocations: 9.188 kB / 0.6853 GB, free: 10.82 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003712/0.1459, allocations: 161.9 kB / 0.6854 GB, free: 10.62 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002086/0.1461, allocations: 0.6775 MB / 0.6861 GB, free: 9.918 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.187e-05/0.1461, allocations: 4 kB / 0.6861 GB, free: 9.914 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.423e-05/0.1461, allocations: 14.06 kB / 0.6861 GB, free: 9.906 MB / 494.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1461, allocations: 3.938 kB / 0.6861 GB, free: 9.902 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01002/0.1562, allocations: 1.266 MB / 0.6874 GB, free: 8.793 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002053/0.1564, allocations: 238.8 kB / 0.6876 GB, free: 8.539 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.505/1.661, allocations: 2.391 kB / 0.6876 GB, free: 8.539 MB / 494.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.fmu > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)