Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.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.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-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(BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",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.001131/0.001131, allocations: 92.39 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.001287/0.001288, 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.679/1.679, allocations: 223.2 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.16/1.16, allocations: 143.4 MB / 434.4 MB, free: 13.69 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004112/0.0004113, allocations: 15.98 kB / 0.5161 GB, free: 11.17 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2287/0.2292, allocations: 83.42 MB / 0.5976 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.002634/0.2319, allocations: 1.338 MB / 0.5989 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002501/0.2344, allocations: 1.367 MB / 0.6002 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001288/0.2346, allocations: 0 / 0.6002 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005211/0.2351, allocations: 47.83 kB / 0.6002 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002344/0.2354, allocations: 39.84 kB / 0.6003 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004012/0.2358, allocations: 87.83 kB / 0.6004 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002707/0.2361, allocations: 143.6 kB / 0.6005 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.018e-05/0.2362, allocations: 8.219 kB / 0.6005 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001536/0.2363, allocations: 59.77 kB / 0.6006 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002433/0.2366, allocations: 67.75 kB / 0.6006 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.873e-05/0.2366, allocations: 4 kB / 0.6006 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002005/0.2368, allocations: 55.97 kB / 0.6007 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.959e-05/0.2369, allocations: 35.89 kB / 0.6007 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.583e-05/0.237, allocations: 45.62 kB / 0.6008 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002939/0.2373, allocations: 143.9 kB / 0.6009 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.2373, allocations: 4 kB / 0.6009 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.523e-06/0.2373, allocations: 0 / 0.6009 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.475e-06/0.2373, allocations: 0 / 0.6009 GB, free: 4.227 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007079/0.238, allocations: 446.6 kB / 0.6013 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/0.2381, allocations: 8.031 kB / 0.6013 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.381e-05/0.2381, allocations: 38.55 kB / 0.6014 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.8e-05/0.2382, allocations: 19.77 kB / 0.6014 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004127/0.2386, allocations: 254.6 kB / 0.6016 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.901e-05/0.2387, allocations: 8 kB / 0.6017 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.11e-05/0.2387, allocations: 4 kB / 0.6017 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002735/0.239, allocations: 115.3 kB / 0.6018 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.239, allocations: 0 / 0.6018 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.729e-05/0.239, allocations: 4 kB / 0.6018 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/0.239, allocations: 3.938 kB / 0.6018 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002435/0.2393, allocations: 139.9 kB / 0.6019 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003042/0.2396, allocations: 241.5 kB / 0.6021 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003572/0.24, allocations: 166.5 kB / 0.6023 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001107/0.2401, allocations: 56.83 kB / 0.6024 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.355e-05/0.2401, allocations: 11.98 kB / 0.6024 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002711/0.2404, allocations: 103.4 kB / 0.6025 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=13): time 1.463e-06/0.2404, allocations: 4 kB / 0.6025 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13): time 0.0005108/0.2409, allocations: 224.5 kB / 0.6027 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.431e-05/0.241, allocations: 81.11 kB / 0.6028 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000238/0.2413, allocations: 209.3 kB / 0.603 GB, free: 1.914 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.526e-05/0.2413, allocations: 33.7 kB / 0.603 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.405e-05/0.2414, allocations: 112.1 kB / 0.6031 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.479e-05/0.2414, allocations: 55.28 kB / 0.6031 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.283e-05/0.2415, allocations: 4 kB / 0.6032 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.2416, allocations: 330.8 kB / 0.6035 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.612e-05/0.2417, allocations: 43.98 kB / 0.6035 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001052/0.2418, allocations: 70.55 kB / 0.6036 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000118/0.2419, allocations: 55.98 kB / 0.6036 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.242, allocations: 0 / 0.6036 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003186/0.2423, allocations: 185.4 kB / 0.6038 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.2423, allocations: 12.06 kB / 0.6038 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.2423, allocations: 0 / 0.6038 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.2424, allocations: 3.984 kB / 0.6038 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001196/0.2425, allocations: 24 kB / 0.6038 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.2425, allocations: 4 kB / 0.6038 GB, free: 0.9648 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.637e-05/0.2426, allocations: 7.984 kB / 0.6039 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.432e-05/0.2426, allocations: 11.89 kB / 0.6039 GB, free: 0.9453 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: 5 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 0.0001499/0.2427, allocations: 136.2 kB / 0.604 GB, free: 0.8047 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.13e-05/0.2428, allocations: 19.75 kB / 0.604 GB, free: 0.7852 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.174e-05/0.2429, allocations: 29.52 kB / 0.604 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.2429, allocations: 4 kB / 0.604 GB, free: 0.75 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.2429, allocations: 0 / 0.604 GB, free: 0.75 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.2429, allocations: 0 / 0.604 GB, free: 0.75 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002166/0.2431, allocations: 249.3 kB / 0.6043 GB, free: 468 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.2431, allocations: 0 / 0.6043 GB, free: 468 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.104e-05/0.2432, allocations: 20 kB / 0.6043 GB, free: 448 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.721e-06/0.2432, allocations: 4 kB / 0.6043 GB, free: 444 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.127e-05/0.2432, allocations: 15.91 kB / 0.6043 GB, free: 428 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.97e-06/0.2432, allocations: 3.938 kB / 0.6043 GB, free: 424 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2432, allocations: 8 kB / 0.6043 GB, free: 416 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003637/0.2436, allocations: 208.3 kB / 0.6045 GB, free: 192 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.823e-05/0.2437, allocations: 92.92 kB / 0.6046 GB, free: 80 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.624e-05/0.2437, allocations: 4 kB / 0.6046 GB, free: 76 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.01e-05/0.2438, allocations: 7.984 kB / 0.6046 GB, free: 68 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.335e-05/0.2439, allocations: 11.98 kB / 0.6046 GB, free: 56 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.153e-05/0.2439, allocations: 4 kB / 0.6046 GB, free: 52 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.4914/0.7353, allocations: 156.2 kB / 0.6048 GB, free: 40.89 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.443e-06/0.7354, allocations: 0 / 0.6048 GB, free: 40.89 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004804/0.7359, allocations: 34.45 kB / 0.6048 GB, free: 40.89 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: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002143/0.7381, allocations: 1.092 MB / 0.6059 GB, free: 40.28 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003693/0.7385, allocations: 118.8 kB / 0.606 GB, free: 40.28 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.7385, allocations: 0.5312 kB / 0.606 GB, free: 40.28 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001276/0.7386, allocations: 60.78 kB / 0.6061 GB, free: 40.28 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000348/0.739, allocations: 42.95 kB / 0.6061 GB, free: 40.28 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001617/0.7406, allocations: 0.9806 MB / 0.6071 GB, free: 39.87 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001926/0.7408, allocations: 0.7206 MB / 0.6078 GB, free: 39.17 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001272/0.7409, allocations: 50.33 kB / 0.6078 GB, free: 39.17 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.335e-05/0.741, allocations: 67.77 kB / 0.6079 GB, free: 39.16 MB / 0.4981 GB Notification: Performance of SimCode: time 6.71e-07/0.7411, allocations: 2.688 kB / 0.6079 GB, free: 39.16 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01804/0.7591, allocations: 4.172 MB / 0.612 GB, free: 38.84 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000333/0.7595, allocations: 266.5 kB / 0.6122 GB, free: 38.48 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.039/2.799, allocations: 3.656 kB / 0.6122 GB, free: 38.48 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData_fmu --startTime=0 --stopTime=603900 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1) Environment - environmentSimulation: