Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="Buildings_8_Buildings_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.0007666/0.0007666, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008369/0.000837, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.38/1.38, allocations: 205.4 MB / 222.1 MB, free: 5.641 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.787/1.787, allocations: 292.7 MB / 0.5499 GB, free: 14.55 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005477/0.0005479, allocations: 24.81 kB / 0.6738 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2282/0.2287, allocations: 116.3 MB / 0.7874 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.001385/0.2302, allocations: 1.013 MB / 0.7884 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000936/0.2312, allocations: 0.5427 MB / 0.7889 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.912e-05/0.2312, allocations: 0 / 0.7889 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.4e-05/0.2312, allocations: 4 kB / 0.7889 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.32e-05/0.2313, allocations: 7.922 kB / 0.7889 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004348/0.2317, allocations: 122.3 kB / 0.789 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.162e-05/0.2318, allocations: 19.92 kB / 0.7891 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.439e-05/0.2318, allocations: 0 / 0.7891 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.412e-05/0.2319, allocations: 11.88 kB / 0.7891 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.691e-05/0.2319, allocations: 7.984 kB / 0.7891 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.187e-05/0.2319, allocations: 3.984 kB / 0.7891 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004703/0.2324, allocations: 335.3 kB / 0.7894 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.628e-06/0.2324, allocations: 4 kB / 0.7894 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.82e-05/0.2325, allocations: 29.7 kB / 0.7894 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000166/0.2327, allocations: 100.1 kB / 0.7895 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.2327, allocations: 3.938 kB / 0.7895 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.874e-06/0.2327, allocations: 3.938 kB / 0.7895 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.847e-06/0.2327, allocations: 0 / 0.7895 GB, free: 9.625 MB / 0.6075 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.0003935/0.2331, allocations: 355.2 kB / 0.7899 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.2331, allocations: 12.03 kB / 0.7899 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.27e-05/0.2332, allocations: 34.56 kB / 0.7899 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.949e-05/0.2332, allocations: 0 / 0.7899 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001332/0.2333, allocations: 175 kB / 0.7901 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.805e-06/0.2333, allocations: 0 / 0.7901 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.118e-05/0.2334, allocations: 0 / 0.7901 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001138/0.2335, allocations: 41.7 kB / 0.7901 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.946e-06/0.2335, allocations: 0 / 0.7901 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-06/0.2335, allocations: 3.984 kB / 0.7901 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.2335, allocations: 3.984 kB / 0.7901 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.03e-05/0.2336, allocations: 19.94 kB / 0.7902 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003126/0.2339, allocations: 257 kB / 0.7904 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001867/0.2341, allocations: 38.56 kB / 0.7904 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.183e-05/0.2341, allocations: 20.91 kB / 0.7905 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.948e-05/0.2342, allocations: 4 kB / 0.7905 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.08e-05/0.2342, allocations: 34.56 kB / 0.7905 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.443e-06/0.2342, allocations: 0 / 0.7905 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0001618/0.2344, allocations: 53.62 kB / 0.7905 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.179e-05/0.2344, allocations: 59.41 kB / 0.7906 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.579e-05/0.2345, allocations: 97.84 kB / 0.7907 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.139e-05/0.2345, allocations: 29.7 kB / 0.7907 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.959e-05/0.2346, allocations: 91.97 kB / 0.7908 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.533e-05/0.2346, allocations: 11.81 kB / 0.7908 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.916e-06/0.2346, allocations: 0 / 0.7908 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.422e-05/0.2347, allocations: 318.8 kB / 0.7911 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.217e-05/0.2347, allocations: 11.98 kB / 0.7911 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.753e-05/0.2347, allocations: 29.66 kB / 0.7912 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.487e-05/0.2348, allocations: 4 kB / 0.7912 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.2348, allocations: 7.938 kB / 0.7912 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.477e-05/0.2349, allocations: 53.69 kB / 0.7912 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.2349, allocations: 4 kB / 0.7912 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.2349, allocations: 3.938 kB / 0.7912 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.2349, allocations: 4 kB / 0.7912 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.647e-05/0.235, allocations: 7.984 kB / 0.7912 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.235, allocations: 11.97 kB / 0.7913 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.38e-05/0.235, allocations: 0 / 0.7913 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.929e-06/0.235, allocations: 0 / 0.7913 GB, free: 7.629 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.726e-05/0.2351, allocations: 117.8 kB / 0.7914 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.18e-05/0.2351, allocations: 0 / 0.7914 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001336/0.2353, allocations: 65.08 kB / 0.7914 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.2353, allocations: 0 / 0.7914 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.2353, allocations: 4.469 kB / 0.7914 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-06/0.2353, allocations: 0 / 0.7914 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001547/0.2355, allocations: 165.6 kB / 0.7916 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.2355, allocations: 0 / 0.7916 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.467e-05/0.2355, allocations: 7.938 kB / 0.7916 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.2355, allocations: 0 / 0.7916 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.664e-06/0.2355, allocations: 4 kB / 0.7916 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.2355, allocations: 0 / 0.7916 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.2355, allocations: 3.984 kB / 0.7916 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001232/0.2357, allocations: 151.5 kB / 0.7918 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.048e-05/0.2357, allocations: 77.11 kB / 0.7918 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.545e-05/0.2357, allocations: 3.984 kB / 0.7918 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.754e-05/0.2358, allocations: 0 / 0.7918 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.948e-05/0.2358, allocations: 8 kB / 0.7918 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-06/0.2358, allocations: 0 / 0.7918 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.548e-05/0.2358, allocations: 79.28 kB / 0.7919 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2359, allocations: 0 / 0.7919 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002485/0.2361, allocations: 16 kB / 0.7919 GB, free: 6.832 MB / 0.6075 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 (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.0004649/0.2366, allocations: 0.7123 MB / 0.7926 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 8.34e-05/0.2367, allocations: 27.92 kB / 0.7927 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2367, allocations: 0 / 0.7927 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.943e-05/0.2367, allocations: 11.94 kB / 0.7927 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002308/0.2369, allocations: 6.812 kB / 0.7927 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004398/0.2374, allocations: 170.3 kB / 0.7928 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002509/0.2377, allocations: 0.677 MB / 0.7935 GB, free: 5.133 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.49e-05/0.2377, allocations: 7.984 kB / 0.7935 GB, free: 5.125 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.494e-05/0.2377, allocations: 7.438 kB / 0.7935 GB, free: 5.117 MB / 0.6075 GB Notification: Performance of SimCode: time 2.81e-07/0.2377, allocations: 4 kB / 0.7935 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01107/0.2488, allocations: 1.185 MB / 0.7947 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001908/0.249, allocations: 222.1 kB / 0.7949 GB, free: 3.859 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.703/1.952, allocations: 0 / 0.7949 GB, free: 3.859 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.fmu > Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) Environment - environmentSimulation: