Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDp.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.Examples.Performance.PressureDrop.SeriesDp,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesDp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDp,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesDp",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.0009018/0.0009019, allocations: 91.69 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.001016/0.001016, 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.327/1.327, allocations: 223.3 MB / 240 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.01/1.01, allocations: 143.4 MB / 434.4 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000331/0.000331, allocations: 11.98 kB / 0.5161 GB, free: 11.13 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.1476, allocations: 83.42 MB / 0.5975 GB, free: 7.656 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDp): time 0.4394/0.587, allocations: 146.7 MB / 0.7409 GB, free: 6.621 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004917/0.592, allocations: 3.363 MB / 0.7441 GB, free: 4.254 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004018/0.5924, allocations: 10.81 kB / 0.7442 GB, free: 4.25 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000522/0.593, allocations: 113 kB / 0.7443 GB, free: 4.184 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001235/0.5942, allocations: 398.7 kB / 0.7446 GB, free: 3.969 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001498/0.5957, allocations: 375.2 kB / 0.745 GB, free: 3.801 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003646/0.5994, allocations: 2.996 MB / 0.7479 GB, free: 2.078 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001063/0.6005, allocations: 0.6938 MB / 0.7486 GB, free: 1.383 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001649/0.6021, allocations: 0.8637 MB / 0.7494 GB, free: 0.5156 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008655/0.603, allocations: 0.704 MB / 0.7501 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.056e-05/0.6031, allocations: 36 kB / 0.7502 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001224/0.6043, allocations: 0.5613 MB / 0.7507 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002764/0.6046, allocations: 278.9 kB / 0.751 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002983/0.6049, allocations: 233.1 kB / 0.7512 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001124/0.6061, allocations: 1.056 MB / 0.7522 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.6061, allocations: 4 kB / 0.7522 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.553e-06/0.6061, allocations: 0 / 0.7522 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.165e-05/0.6061, allocations: 0 / 0.7522 GB, free: 13.64 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.001888/0.608, allocations: 1.307 MB / 0.7535 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.608, allocations: 12.03 kB / 0.7535 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001077/0.6082, allocations: 95.02 kB / 0.7536 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007385/0.6089, allocations: 183.5 kB / 0.7538 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001323/0.6102, allocations: 0.8079 MB / 0.7546 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.27e-05/0.6103, allocations: 45 kB / 0.7546 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.244e-05/0.6104, allocations: 56 kB / 0.7547 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001202/0.6116, allocations: 0.7935 MB / 0.7555 GB, free: 10.15 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.671e-05/0.6116, allocations: 3.938 kB / 0.7555 GB, free: 10.15 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.766e-05/0.6117, allocations: 20 kB / 0.7555 GB, free: 10.13 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.388e-05/0.6117, allocations: 12 kB / 0.7555 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008583/0.6126, allocations: 0.5423 MB / 0.756 GB, free: 9.57 MB / 0.5762 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004532/0.6171, allocations: 4.615 MB / 0.7605 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007205/0.6178, allocations: 422.9 kB / 0.7609 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004025/0.6183, allocations: 248.7 kB / 0.7612 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003501/0.6186, allocations: 202.2 kB / 0.7614 GB, free: 3.672 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005574/0.6192, allocations: 300.2 kB / 0.7616 GB, free: 3.363 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 2.474e-06/0.6192, allocations: 0 / 0.7616 GB, free: 3.363 MB / 0.5762 GB Notification: Performance of matching and sorting (n=31): time 0.004925/0.6241, allocations: 1.674 MB / 0.7633 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.624e-05/0.6242, allocations: 85.09 kB / 0.7634 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001506/0.6257, allocations: 1.122 MB / 0.7645 GB, free: 440 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.712e-05/0.6258, allocations: 33.7 kB / 0.7645 GB, free: 400 kB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004955/0.6263, allocations: 492.3 kB / 0.765 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001259/0.6264, allocations: 110.5 kB / 0.7651 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.38e-05/0.6265, allocations: 8 kB / 0.7651 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001514/0.6266, allocations: 326 kB / 0.7654 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003399/0.627, allocations: 188.7 kB / 0.7656 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005959/0.6276, allocations: 0.4979 MB / 0.766 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000448/0.628, allocations: 285.4 kB / 0.7663 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.628, allocations: 0 / 0.7663 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002016/0.6301, allocations: 0.9943 MB / 0.7673 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002206/0.6303, allocations: 279.1 kB / 0.7676 GB, free: 13 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.538e-05/0.6303, allocations: 4.812 kB / 0.7676 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001261/0.6316, allocations: 358.8 kB / 0.7679 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002508/0.6318, allocations: 75.78 kB / 0.768 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00158/0.6334, allocations: 1.093 MB / 0.769 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001002/0.6345, allocations: 107.4 kB / 0.7691 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.697e-05/0.6345, allocations: 24 kB / 0.7692 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.6345, allocations: 4 kB / 0.7692 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001467/0.636, allocations: 0.7374 MB / 0.7699 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.636, allocations: 8 kB / 0.7699 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000518/0.6366, allocations: 223.4 kB / 0.7701 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002172/0.6368, allocations: 63.91 kB / 0.7702 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003412/0.6402, allocations: 3.032 MB / 0.7731 GB, free: 7.109 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007785/0.641, allocations: 99.52 kB / 0.7732 GB, free: 7.012 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.124e-05/0.6411, allocations: 24 kB / 0.7733 GB, free: 6.988 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse_p.T_start,pulse_p.T_start,$PRE.pulse_p.count,pulse_p.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {9 11} Notification: Performance of prepare postOptimizeDAE: time 0.0005517/0.6416, allocations: 472.8 kB / 0.7737 GB, free: 6.52 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001089/0.6417, allocations: 103 kB / 0.7738 GB, free: 6.418 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001213/0.643, allocations: 0.729 MB / 0.7745 GB, free: 5.676 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.643, allocations: 4 kB / 0.7745 GB, free: 5.672 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.643, allocations: 0 / 0.7745 GB, free: 5.672 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.643, allocations: 0 / 0.7745 GB, free: 5.672 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002245/0.6452, allocations: 1.63 MB / 0.7761 GB, free: 3.961 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.6453, allocations: 0 / 0.7761 GB, free: 3.961 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001093/0.6454, allocations: 27.92 kB / 0.7761 GB, free: 3.934 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004728/0.6458, allocations: 250.2 kB / 0.7764 GB, free: 3.688 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.208e-05/0.6459, allocations: 12 kB / 0.7764 GB, free: 3.676 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009866/0.6469, allocations: 1.03 MB / 0.7774 GB, free: 2.621 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.6469, allocations: 0 / 0.7774 GB, free: 2.621 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001165/0.6481, allocations: 0.8413 MB / 0.7782 GB, free: 1.738 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000313/0.6484, allocations: 231.7 kB / 0.7784 GB, free: 1.492 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.64e-05/0.6485, allocations: 8 kB / 0.7784 GB, free: 1.484 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004857/0.649, allocations: 63.8 kB / 0.7785 GB, free: 1.422 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.107e-05/0.6491, allocations: 27.95 kB / 0.7785 GB, free: 1.395 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.504e-05/0.6491, allocations: 12 kB / 0.7785 GB, free: 1.383 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0009349/0.65, allocations: 0.7916 MB / 0.7793 GB, free: 0.582 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.292e-06/0.6501, allocations: 3.938 kB / 0.7793 GB, free: 0.5781 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001163/0.6512, allocations: 451.4 kB / 0.7797 GB, free: 140 kB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {9 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.001589/0.6528, allocations: 1.362 MB / 0.7811 GB, free: 14.73 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002288/0.6551, allocations: 1.207 MB / 0.7823 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/0.6551, allocations: 4.062 kB / 0.7823 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0005578/0.6557, allocations: 276.2 kB / 0.7825 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001886/0.6576, allocations: 468.7 kB / 0.783 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01145/0.6691, allocations: 6.6 MB / 0.7894 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007492/0.6698, allocations: 1.188 MB / 0.7906 GB, free: 4.672 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0009424/0.6708, allocations: 319.6 kB / 0.7909 GB, free: 4.355 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000353/0.6712, allocations: 307.3 kB / 0.7912 GB, free: 4.055 MB / 0.6075 GB Notification: Performance of SimCode: time 6.21e-07/0.6712, allocations: 0 / 0.7912 GB, free: 4.055 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0461/0.7173, allocations: 27.64 MB / 0.8182 GB, free: 8.848 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001855/0.7175, allocations: 281.2 kB / 0.8184 GB, free: 8.488 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.271/2.988, allocations: 0 / 0.8184 GB, free: 8.488 MB / 0.6387 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesDp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesDp.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe 2>&1) Environment - environmentSimulation: