Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.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.Actuators.Valves.Examples.TwoWayValvePressureIndependent,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent",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.001358/0.001359, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.00179/0.00179, allocations: 177.3 kB / 15.95 MB, free: 216 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.479/1.479, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9902/0.9902, allocations: 143.3 MB / 434.3 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003618/0.0003619, allocations: 12 kB / 0.5159 GB, free: 11.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1791/0.1795, allocations: 83.42 MB / 0.5974 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.3085/0.488, allocations: 16.29 MB / 0.6133 GB, free: 35.1 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.008723/0.4968, allocations: 4.481 MB / 0.6177 GB, free: 33.64 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001135/0.498, allocations: 13.44 kB / 0.6177 GB, free: 33.64 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001141/0.4992, allocations: 245.6 kB / 0.6179 GB, free: 33.53 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003342/0.5025, allocations: 0.8218 MB / 0.6187 GB, free: 33 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00357/0.5061, allocations: 0.9209 MB / 0.6196 GB, free: 32.57 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002341/0.5085, allocations: 0.9562 MB / 0.6205 GB, free: 32.07 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008367/0.5093, allocations: 420.6 kB / 0.6209 GB, free: 31.91 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001183/0.5105, allocations: 0.5008 MB / 0.6214 GB, free: 31.68 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007848/0.5113, allocations: 408.1 kB / 0.6218 GB, free: 31.51 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001135/0.5114, allocations: 28.06 kB / 0.6218 GB, free: 31.51 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002356/0.5138, allocations: 0.6465 MB / 0.6225 GB, free: 31.33 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001768/0.514, allocations: 123.5 kB / 0.6226 GB, free: 31.27 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002319/0.5142, allocations: 154.6 kB / 0.6227 GB, free: 31.18 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001142/0.5154, allocations: 0.7805 MB / 0.6235 GB, free: 31 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.5154, allocations: 0 / 0.6235 GB, free: 31 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.124e-06/0.5154, allocations: 0 / 0.6235 GB, free: 31 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.132e-05/0.5154, allocations: 0 / 0.6235 GB, free: 31 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.00228/0.5177, allocations: 0.9974 MB / 0.6245 GB, free: 30.29 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.721e-05/0.5178, allocations: 9.969 kB / 0.6245 GB, free: 30.29 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001173/0.5179, allocations: 84.62 kB / 0.6246 GB, free: 30.22 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000169/0.5181, allocations: 79.69 kB / 0.6246 GB, free: 30.18 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009373/0.5191, allocations: 495.2 kB / 0.6251 GB, free: 29.83 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.668e-05/0.5191, allocations: 41.47 kB / 0.6252 GB, free: 29.81 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.371e-05/0.5192, allocations: 48.19 kB / 0.6252 GB, free: 29.8 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001323/0.5205, allocations: 0.6303 MB / 0.6258 GB, free: 29.44 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.082e-05/0.5206, allocations: 6.625 kB / 0.6258 GB, free: 29.43 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.338e-05/0.5206, allocations: 17 kB / 0.6258 GB, free: 29.42 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.614e-05/0.5207, allocations: 11.44 kB / 0.6258 GB, free: 29.42 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001396/0.5221, allocations: 0.5164 MB / 0.6264 GB, free: 29.27 MB / 0.4981 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.003965/0.5261, allocations: 3.219 MB / 0.6295 GB, free: 26.63 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009604/0.527, allocations: 352.5 kB / 0.6298 GB, free: 26.5 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003543/0.5274, allocations: 352.6 kB / 0.6302 GB, free: 26.11 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.418e-05/0.5274, allocations: 30.56 kB / 0.6302 GB, free: 26.07 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=38): time 2.595e-06/0.5275, allocations: 4 kB / 0.6302 GB, free: 26.06 MB / 0.4981 GB Notification: Performance of matching and sorting (n=38): time 0.002858/0.5303, allocations: 0.8667 MB / 0.631 GB, free: 25.71 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.721e-05/0.5304, allocations: 54.38 kB / 0.6311 GB, free: 25.64 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008068/0.5312, allocations: 0.577 MB / 0.6317 GB, free: 25.38 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.177e-05/0.5312, allocations: 36.55 kB / 0.6317 GB, free: 25.34 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002313/0.5315, allocations: 321.9 kB / 0.632 GB, free: 25.09 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000112/0.5316, allocations: 140.7 kB / 0.6321 GB, free: 24.98 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.953e-05/0.5317, allocations: 10.97 kB / 0.6322 GB, free: 24.97 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.597e-05/0.5318, allocations: 377 kB / 0.6325 GB, free: 24.62 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006786/0.5325, allocations: 217 kB / 0.6327 GB, free: 24.56 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007595/0.5332, allocations: 379 kB / 0.6331 GB, free: 24.31 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007468/0.534, allocations: 255.5 kB / 0.6333 GB, free: 24.21 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.534, allocations: 0 / 0.6333 GB, free: 24.21 MB / 0.4981 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001996/0.536, allocations: 0.729 MB / 0.634 GB, free: 23.93 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003313/0.5364, allocations: 1.736 MB / 0.6357 GB, free: 22.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.581e-05/0.5364, allocations: 6.031 kB / 0.6357 GB, free: 22.07 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005881/0.537, allocations: 161.2 kB / 0.6359 GB, free: 22.03 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006856/0.5377, allocations: 153.5 kB / 0.636 GB, free: 22.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007659/0.5385, allocations: 0.6358 MB / 0.6367 GB, free: 21.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009154/0.5394, allocations: 104.9 kB / 0.6368 GB, free: 21.41 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.94e-05/0.5395, allocations: 27.8 kB / 0.6368 GB, free: 21.4 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.5395, allocations: 5.906 kB / 0.6368 GB, free: 21.4 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001635/0.5412, allocations: 0.6192 MB / 0.6374 GB, free: 21.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.5412, allocations: 2.906 kB / 0.6374 GB, free: 21.19 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.5412, allocations: 8.719 kB / 0.6374 GB, free: 21.19 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007963/0.542, allocations: 169.5 kB / 0.6376 GB, free: 21.17 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.339e-05/0.542, allocations: 12.66 kB / 0.6376 GB, free: 21.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008139/0.5429, allocations: 93.44 kB / 0.6377 GB, free: 21.12 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.56e-05/0.5429, allocations: 30.84 kB / 0.6377 GB, free: 21.12 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (70): * Single equations (assignments): 69 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0003811/0.5433, allocations: 269.2 kB / 0.638 GB, free: 20.88 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000143/0.5435, allocations: 63.94 kB / 0.638 GB, free: 20.85 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001931/0.5454, allocations: 0.6811 MB / 0.6387 GB, free: 20.58 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.281e-05/0.5455, allocations: 9.688 kB / 0.6387 GB, free: 20.57 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.5455, allocations: 0 / 0.6387 GB, free: 20.57 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.183e-05/0.5455, allocations: 7.328 kB / 0.6387 GB, free: 20.57 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003583/0.5491, allocations: 1.389 MB / 0.6401 GB, free: 19.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.077e-06/0.5491, allocations: 0 / 0.6401 GB, free: 19.86 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005623/0.5497, allocations: 95.5 kB / 0.6401 GB, free: 19.85 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005938/0.5503, allocations: 130.5 kB / 0.6403 GB, free: 19.82 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.738e-05/0.5504, allocations: 19.86 kB / 0.6403 GB, free: 19.81 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007453/0.5511, allocations: 0.6366 MB / 0.6409 GB, free: 19.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.5511, allocations: 2.625 kB / 0.6409 GB, free: 19.25 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001979/0.5531, allocations: 0.7686 MB / 0.6417 GB, free: 18.82 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003929/0.5535, allocations: 207.4 kB / 0.6419 GB, free: 18.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000129/0.5537, allocations: 7.062 kB / 0.6419 GB, free: 18.65 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007275/0.5544, allocations: 56.58 kB / 0.6419 GB, free: 18.64 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/0.5545, allocations: 29.92 kB / 0.6419 GB, free: 18.64 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.032e-05/0.5546, allocations: 21.28 kB / 0.642 GB, free: 18.63 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006647/0.5553, allocations: 396.5 kB / 0.6423 GB, free: 18.46 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.6e-07/0.5553, allocations: 4 kB / 0.6424 GB, free: 18.45 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001839/0.5572, allocations: 391.2 kB / 0.6427 GB, free: 18.36 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (41): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0029/0.5601, allocations: 1.701 MB / 0.6444 GB, free: 17.15 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002953/0.5631, allocations: 0.9145 MB / 0.6453 GB, free: 16.89 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/0.5631, allocations: 3.25 kB / 0.6453 GB, free: 16.89 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00108/0.5642, allocations: 301.5 kB / 0.6456 GB, free: 16.8 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0021/0.5663, allocations: 270.3 kB / 0.6458 GB, free: 16.73 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004214/0.5705, allocations: 4.649 MB / 0.6504 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000555/0.5711, allocations: 0.9311 MB / 0.6513 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0009782/0.5721, allocations: 148 kB / 0.6514 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004806/0.5726, allocations: 246.5 kB / 0.6517 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of SimCode: time 1.613e-06/0.5726, allocations: 0 / 0.6517 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06163/0.6342, allocations: 17.59 MB / 0.6688 GB, free: 9.797 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002498/0.6345, allocations: 286.4 kB / 0.6691 GB, free: 9.438 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.268/2.903, allocations: 0 / 0.6691 GB, free: 9.438 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1) Environment - environmentSimulation: