Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.001242/0.001242, 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.00121/0.00121, allocations: 194.6 kB / 16.14 MB, free: 6.703 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.281/1.281, allocations: 222.9 MB / 239.8 MB, free: 4.539 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9175/0.9175, allocations: 143.1 MB / 433 MB, free: 11.6 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001146/0.001146, allocations: 67.89 kB / 0.5136 GB, free: 12.08 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.1382, allocations: 82.04 MB / 0.5937 GB, free: 9.992 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002135/0.1404, allocations: 1.343 MB / 0.595 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009369/0.1413, allocations: 0.6112 MB / 0.5956 GB, free: 8.023 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.358e-05/0.1414, allocations: 4 kB / 0.5956 GB, free: 8.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.718e-05/0.1414, allocations: 4 kB / 0.5956 GB, free: 8.016 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.868e-05/0.1414, allocations: 3.938 kB / 0.5957 GB, free: 8.012 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003921/0.1418, allocations: 123.6 kB / 0.5958 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.118e-05/0.1419, allocations: 15.92 kB / 0.5958 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.495e-05/0.1419, allocations: 4 kB / 0.5958 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.209e-05/0.142, allocations: 11.98 kB / 0.5958 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.878e-05/0.142, allocations: 7.938 kB / 0.5958 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.111e-05/0.142, allocations: 3.938 kB / 0.5958 GB, free: 7.848 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000451/0.1425, allocations: 347.3 kB / 0.5961 GB, free: 7.508 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.807e-06/0.1425, allocations: 0 / 0.5961 GB, free: 7.508 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.231e-05/0.1425, allocations: 15.92 kB / 0.5962 GB, free: 7.492 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002318/0.1428, allocations: 143.9 kB / 0.5963 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1428, allocations: 4 kB / 0.5963 GB, free: 7.348 MB / 0.4981 GB Notification: Performance of FrontEnd: time 7.61e-07/0.1428, allocations: 0 / 0.5963 GB, free: 7.348 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.116e-06/0.1428, allocations: 0 / 0.5963 GB, free: 7.348 MB / 0.4981 GB 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.0003811/0.1432, allocations: 359.5 kB / 0.5966 GB, free: 6.945 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.1432, allocations: 8.031 kB / 0.5966 GB, free: 6.938 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.824e-05/0.1433, allocations: 34.75 kB / 0.5967 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.24e-05/0.1433, allocations: 8.844 kB / 0.5967 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.472e-05/0.1434, allocations: 164.3 kB / 0.5968 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.867e-06/0.1434, allocations: 384 / 0.5968 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.054e-05/0.1434, allocations: 4.375 kB / 0.5969 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.07e-05/0.1435, allocations: 38.25 kB / 0.5969 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.1435, allocations: 7.938 kB / 0.5969 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.1435, allocations: 4 kB / 0.5969 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.527e-06/0.1435, allocations: 0 / 0.5969 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.183e-05/0.1436, allocations: 11.98 kB / 0.5969 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002821/0.1439, allocations: 257 kB / 0.5972 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001829/0.1441, allocations: 54.5 kB / 0.5972 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.686e-05/0.1441, allocations: 20.84 kB / 0.5972 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.895e-05/0.1441, allocations: 3.938 kB / 0.5972 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.958e-05/0.1442, allocations: 34.56 kB / 0.5973 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.283e-06/0.1442, allocations: 0 / 0.5973 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0001496/0.1443, allocations: 61.62 kB / 0.5973 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.78e-05/0.1444, allocations: 51.41 kB / 0.5974 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.608e-05/0.1444, allocations: 101.9 kB / 0.5975 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.05e-05/0.1444, allocations: 25.7 kB / 0.5975 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.876e-05/0.1445, allocations: 92.12 kB / 0.5976 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.094e-05/0.1445, allocations: 11.75 kB / 0.5976 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.165e-05/0.1446, allocations: 21.72 kB / 0.5976 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.366e-05/0.1447, allocations: 314.8 kB / 0.5979 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.948e-05/0.1447, allocations: 8 kB / 0.5979 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.785e-05/0.1447, allocations: 17.72 kB / 0.5979 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.663e-05/0.1448, allocations: 33.7 kB / 0.598 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.96e-06/0.1448, allocations: 4.062 kB / 0.598 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.126e-05/0.1449, allocations: 61.62 kB / 0.598 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.1449, allocations: 12.03 kB / 0.598 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.1449, allocations: 0 / 0.598 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.708e-06/0.1449, allocations: 0 / 0.598 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.394e-05/0.145, allocations: 11.94 kB / 0.5981 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.145, allocations: 3.938 kB / 0.5981 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.29e-05/0.145, allocations: 0 / 0.5981 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-06/0.145, allocations: 4 kB / 0.5981 GB, free: 5.293 MB / 0.4981 GB 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.02e-05/0.1451, allocations: 109.8 kB / 0.5982 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.655e-05/0.1451, allocations: 7.906 kB / 0.5982 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001301/0.1452, allocations: 65.17 kB / 0.5982 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.1452, allocations: 4 kB / 0.5982 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.1453, allocations: 0 / 0.5982 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.1453, allocations: 0 / 0.5982 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001461/0.1454, allocations: 157.6 kB / 0.5984 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1454, allocations: 0 / 0.5984 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.345e-05/0.1455, allocations: 11.94 kB / 0.5984 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.1455, allocations: 0 / 0.5984 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.851e-06/0.1455, allocations: 0 / 0.5984 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.1455, allocations: 4 kB / 0.5984 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.1455, allocations: 3.984 kB / 0.5984 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001056/0.1456, allocations: 151.4 kB / 0.5986 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.055e-05/0.1457, allocations: 81.05 kB / 0.5986 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.196e-05/0.1457, allocations: 4 kB / 0.5986 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.9e-05/0.1457, allocations: 0 / 0.5986 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.088e-05/0.1457, allocations: 0 / 0.5986 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.925e-06/0.1457, allocations: 0 / 0.5986 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.218e-05/0.1458, allocations: 91.27 kB / 0.5987 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1458, allocations: 0 / 0.5987 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002366/0.146, allocations: 20 kB / 0.5987 GB, free: 4.496 MB / 0.4981 GB 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.0004072/0.1464, allocations: 0.6971 MB / 0.5994 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.782e-05/0.1465, allocations: 32.02 kB / 0.5995 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1465, allocations: 0 / 0.5995 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.108e-05/0.1466, allocations: 15.94 kB / 0.5995 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002033/0.1468, allocations: 7.938 kB / 0.5995 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004014/0.1472, allocations: 162 kB / 0.5996 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002311/0.1474, allocations: 0.6809 MB / 0.6003 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.51e-05/0.1475, allocations: 8.062 kB / 0.6003 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.254e-05/0.1475, allocations: 11.38 kB / 0.6003 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.1475, allocations: 0 / 0.6003 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009697/0.1572, allocations: 1.279 MB / 0.6016 GB, free: 1.664 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001788/0.1574, allocations: 233.7 kB / 0.6018 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.599/1.757, allocations: 0 / 0.6018 GB, free: 1.41 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)