Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.FMI.Validation.FlowSplitter_u.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.FMI.Validation.FlowSplitter_u,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_FMI_Validation_FlowSplitter_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_FMI_Validation_FlowSplitter_u",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.001104/0.001104, allocations: 97.91 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.001269/0.001269, allocations: 177.3 kB / 15.94 MB, free: 228 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.411/1.411, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.025/1.025, allocations: 143.3 MB / 434.2 MB, free: 13.72 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000569/0.0005691, allocations: 12 kB / 0.5159 GB, free: 11.22 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1726/0.1732, allocations: 83.42 MB / 0.5973 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FMI.Validation.FlowSplitter_u): time 0.5455/0.7187, allocations: 139.2 MB / 0.7333 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005401/0.7241, allocations: 4.477 MB / 0.7376 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002532/0.7244, allocations: 8.062 kB / 0.7376 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003057/0.7248, allocations: 35.86 kB / 0.7377 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002822/0.725, allocations: 82.52 kB / 0.7377 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001408/0.7252, allocations: 37.02 kB / 0.7378 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004498/0.7257, allocations: 180.7 kB / 0.738 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002468/0.7259, allocations: 63.02 kB / 0.738 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002886/0.7262, allocations: 78.19 kB / 0.7381 GB, free: 9.984 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001244/0.7263, allocations: 43.41 kB / 0.7381 GB, free: 9.965 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.843e-05/0.7264, allocations: 2.75 kB / 0.7381 GB, free: 9.965 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 2.16e-05/0.7264, allocations: 2.75 kB / 0.7381 GB, free: 9.965 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.28e-05/0.7264, allocations: 16.91 kB / 0.7382 GB, free: 9.957 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.496e-05/0.7265, allocations: 54.02 kB / 0.7382 GB, free: 9.91 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002469/0.7268, allocations: 123.9 kB / 0.7383 GB, free: 9.887 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.7268, allocations: 0 / 0.7383 GB, free: 9.887 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.264e-06/0.7268, allocations: 0 / 0.7383 GB, free: 9.887 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.7268, allocations: 1.375 kB / 0.7383 GB, free: 9.887 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.0007243/0.7275, allocations: 409.4 kB / 0.7387 GB, free: 9.496 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.771e-05/0.7276, allocations: 8.25 kB / 0.7387 GB, free: 9.496 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.607e-05/0.7277, allocations: 45.45 kB / 0.7388 GB, free: 9.449 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.141e-05/0.7277, allocations: 25.28 kB / 0.7388 GB, free: 9.434 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003841/0.7281, allocations: 244.8 kB / 0.739 GB, free: 9.199 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.074e-05/0.7281, allocations: 5.406 kB / 0.739 GB, free: 9.199 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.583e-05/0.7282, allocations: 15 kB / 0.739 GB, free: 9.191 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003002/0.7285, allocations: 167.5 kB / 0.7392 GB, free: 9.016 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.7285, allocations: 4 kB / 0.7392 GB, free: 9.012 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.844e-05/0.7285, allocations: 4.75 kB / 0.7392 GB, free: 9.008 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.7285, allocations: 7.938 kB / 0.7392 GB, free: 9 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001527/0.7287, allocations: 78.33 kB / 0.7393 GB, free: 8.934 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001138/0.7298, allocations: 1.146 MB / 0.7404 GB, free: 7.766 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001137/0.73, allocations: 173.1 kB / 0.7406 GB, free: 7.586 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.2e-05/0.73, allocations: 75.28 kB / 0.7407 GB, free: 7.512 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.82e-05/0.7301, allocations: 122.6 kB / 0.7408 GB, free: 7.383 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 9.01e-07/0.7301, allocations: 0 / 0.7408 GB, free: 7.383 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 9.318e-05/0.7302, allocations: 42.27 kB / 0.7408 GB, free: 7.336 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001172/0.7303, allocations: 178.8 kB / 0.741 GB, free: 7.137 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003422/0.7307, allocations: 247.8 kB / 0.7412 GB, free: 6.914 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.699e-05/0.7307, allocations: 25.7 kB / 0.7412 GB, free: 6.883 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001181/0.7308, allocations: 137.8 kB / 0.7414 GB, free: 6.75 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.886e-06/0.7309, allocations: 0 / 0.7414 GB, free: 6.75 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.381e-06/0.7309, allocations: 4 kB / 0.7414 GB, free: 6.746 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.731, allocations: 325.7 kB / 0.7417 GB, free: 6.426 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.513e-05/0.731, allocations: 13.3 kB / 0.7417 GB, free: 6.414 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.382e-05/0.7311, allocations: 63.95 kB / 0.7418 GB, free: 6.328 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.283e-05/0.7312, allocations: 17.83 kB / 0.7418 GB, free: 6.312 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.7312, allocations: 0 / 0.7418 GB, free: 6.312 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001689/0.7314, allocations: 90.59 kB / 0.7419 GB, free: 6.223 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.7314, allocations: 4.953 kB / 0.7419 GB, free: 6.219 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.7314, allocations: 7.953 kB / 0.7419 GB, free: 6.211 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.7314, allocations: 4 kB / 0.7419 GB, free: 6.207 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.192e-05/0.7315, allocations: 9.547 kB / 0.7419 GB, free: 6.199 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.7315, allocations: 3.938 kB / 0.7419 GB, free: 6.195 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.367e-05/0.7316, allocations: 17.77 kB / 0.7419 GB, free: 6.18 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.93e-06/0.7316, allocations: 0 / 0.7419 GB, free: 6.18 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 0.00015/0.7318, allocations: 204.3 kB / 0.7421 GB, free: 5.973 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.113e-05/0.7319, allocations: 117.5 kB / 0.7422 GB, free: 5.852 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.897e-05/0.7319, allocations: 129.3 kB / 0.7423 GB, free: 5.727 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001021/0.7321, allocations: 180.9 kB / 0.7425 GB, free: 5.543 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.83e-05/0.7322, allocations: 176.9 kB / 0.7427 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.974e-05/0.7322, allocations: 184.9 kB / 0.7429 GB, free: 5.176 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003906/0.7326, allocations: 448.2 kB / 0.7433 GB, free: 4.699 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.379e-05/0.7327, allocations: 109.8 kB / 0.7434 GB, free: 4.586 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.064e-05/0.7327, allocations: 106.5 kB / 0.7435 GB, free: 4.477 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.299e-05/0.7328, allocations: 180.9 kB / 0.7437 GB, free: 4.293 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.023e-05/0.7329, allocations: 181.3 kB / 0.7438 GB, free: 4.109 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.75e-05/0.7329, allocations: 177 kB / 0.744 GB, free: 3.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.939e-05/0.733, allocations: 192.7 kB / 0.7442 GB, free: 3.734 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000167/0.7332, allocations: 323 kB / 0.7445 GB, free: 3.398 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001041/0.7333, allocations: 199.4 kB / 0.7447 GB, free: 3.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.964e-05/0.7334, allocations: 177.9 kB / 0.7449 GB, free: 3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001234/0.7335, allocations: 109.5 kB / 0.745 GB, free: 2.887 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.242e-05/0.7336, allocations: 188.8 kB / 0.7451 GB, free: 2.695 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.642e-05/0.7336, allocations: 110.3 kB / 0.7452 GB, free: 2.582 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001873/0.7338, allocations: 179 kB / 0.7454 GB, free: 2.422 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7338, allocations: 0 / 0.7454 GB, free: 2.422 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002671/0.7341, allocations: 20 kB / 0.7454 GB, free: 2.402 MB / 0.5606 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 (0): * Single equations (assignments): 0 * 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.0004959/0.7346, allocations: 0.8195 MB / 0.7462 GB, free: 1.555 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001082/0.7347, allocations: 22.28 kB / 0.7463 GB, free: 1.535 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.7347, allocations: 0 / 0.7463 GB, free: 1.535 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.558e-06/0.7347, allocations: 4.625 kB / 0.7463 GB, free: 1.531 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000689/0.7354, allocations: 0.5753 MB / 0.7468 GB, free: 0.9648 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001842/0.7373, allocations: 1.555 MB / 0.7483 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003422/0.7376, allocations: 0.7214 MB / 0.749 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 8.614e-05/0.7377, allocations: 23.75 kB / 0.7491 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.207e-05/0.7378, allocations: 43.33 kB / 0.7491 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of SimCode: time 3.11e-07/0.7378, allocations: 0 / 0.7491 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01815/0.756, allocations: 3.513 MB / 0.7525 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001752/0.7562, allocations: 192.6 kB / 0.7527 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.822/2.578, allocations: 3.938 kB / 0.7527 GB, free: 12.43 MB / 0.5762 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FMI.Validation.FlowSplitter_u.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.FMI.Validation.FlowSplitter_u.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.FMI.Validation.FlowSplitter_u.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.FMI.Validation.FlowSplitter_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_FMI_Validation_FlowSplitter_u_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_FMI_Validation_FlowSplitter_u.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1) Environment - environmentSimulation: