Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Splice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.Splice,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Splice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.Splice,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Splice",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.835/0.835, allocations: 127.3 MB / 139.8 MB, free: 15.44 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001472/0.001472, allocations: 176.8 kB / 169.7 MB, free: 1.734 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.954/1.954, allocations: 205.1 MB / 404.5 MB, free: 1.656 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000952/0.0009522, allocations: 82.48 kB / 481.8 MB, free: 4.305 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.927e-05/4.957e-05, allocations: 4 kB / 0.5533 GB, free: 54.75 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.194/0.194, allocations: 76.76 MB / 0.6282 GB, free: 9.934 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6052/0.7993, allocations: 103.9 MB / 0.7297 GB, free: 9.469 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002588/0.7996, allocations: 79.64 kB / 0.7298 GB, free: 9.426 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005671/0.8053, allocations: 1.836 MB / 0.7316 GB, free: 7.82 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.8054, allocations: 0 / 0.7316 GB, free: 7.82 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.8054, allocations: 0 / 0.7316 GB, free: 7.82 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004106/0.8058, allocations: 361.4 kB / 0.7319 GB, free: 7.426 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.958e-05/0.8059, allocations: 8.031 kB / 0.7319 GB, free: 7.418 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.194e-05/0.8059, allocations: 33.12 kB / 0.732 GB, free: 7.379 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.158e-05/0.806, allocations: 13.52 kB / 0.732 GB, free: 7.367 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001532/0.8061, allocations: 167 kB / 0.7321 GB, free: 7.164 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.8061, allocations: 2.688 kB / 0.7321 GB, free: 7.164 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.314e-05/0.8062, allocations: 11.92 kB / 0.7322 GB, free: 7.152 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000128/0.8063, allocations: 47.5 kB / 0.7322 GB, free: 7.105 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.8063, allocations: 0 / 0.7322 GB, free: 7.105 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.8063, allocations: 2.625 kB / 0.7322 GB, free: 7.105 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.8063, allocations: 4 kB / 0.7322 GB, free: 7.102 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.529e-05/0.8064, allocations: 26.31 kB / 0.7322 GB, free: 7.082 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004395/0.8068, allocations: 277.3 kB / 0.7325 GB, free: 6.777 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.442e-05/0.8069, allocations: 33.77 kB / 0.7325 GB, free: 6.738 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.842e-05/0.807, allocations: 12.36 kB / 0.7325 GB, free: 6.727 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005086/0.8075, allocations: 0.5589 MB / 0.7331 GB, free: 6.039 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.887e-05/0.8075, allocations: 30.56 kB / 0.7331 GB, free: 6 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.8075, allocations: 0 / 0.7331 GB, free: 6 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001817/0.8077, allocations: 49.34 kB / 0.7332 GB, free: 5.949 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.601e-05/0.8078, allocations: 55.44 kB / 0.7332 GB, free: 5.883 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001087/0.8079, allocations: 113.7 kB / 0.7333 GB, free: 5.773 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.697e-05/0.8079, allocations: 29.58 kB / 0.7334 GB, free: 5.742 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.087e-05/0.808, allocations: 83.39 kB / 0.7334 GB, free: 5.66 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.866e-05/0.808, allocations: 11.84 kB / 0.7334 GB, free: 5.648 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.106e-06/0.808, allocations: 0 / 0.7334 GB, free: 5.648 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001232/0.8081, allocations: 317.5 kB / 0.7337 GB, free: 5.332 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.947e-05/0.8081, allocations: 6.5 kB / 0.7338 GB, free: 5.328 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.379e-05/0.8082, allocations: 14.81 kB / 0.7338 GB, free: 5.316 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.106e-05/0.8082, allocations: 4 kB / 0.7338 GB, free: 5.312 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.8082, allocations: 0 / 0.7338 GB, free: 5.312 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.557e-05/0.8083, allocations: 47 kB / 0.7338 GB, free: 5.266 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.8083, allocations: 7.953 kB / 0.7338 GB, free: 5.258 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.8083, allocations: 0 / 0.7338 GB, free: 5.258 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.8083, allocations: 0 / 0.7338 GB, free: 5.258 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.542e-05/0.8084, allocations: 8 kB / 0.7338 GB, free: 5.25 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.8084, allocations: 0.5469 kB / 0.7338 GB, free: 5.25 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.684e-05/0.8085, allocations: 12 kB / 0.7338 GB, free: 5.238 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/0.8085, allocations: 3.984 kB / 0.7338 GB, free: 5.234 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.627e-05/0.8086, allocations: 104.9 kB / 0.7339 GB, free: 5.125 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.963e-05/0.8086, allocations: 4 kB / 0.734 GB, free: 5.121 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001274/0.8087, allocations: 66.28 kB / 0.734 GB, free: 5.062 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.8088, allocations: 3.984 kB / 0.734 GB, free: 5.059 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.8088, allocations: 0 / 0.734 GB, free: 5.059 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.8088, allocations: 32 / 0.734 GB, free: 5.059 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001753/0.809, allocations: 169 kB / 0.7342 GB, free: 4.852 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.809, allocations: 0 / 0.7342 GB, free: 4.852 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.358e-05/0.809, allocations: 7.984 kB / 0.7342 GB, free: 4.844 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.809, allocations: 4 kB / 0.7342 GB, free: 4.84 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/0.809, allocations: 3.938 kB / 0.7342 GB, free: 4.836 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.809, allocations: 3.953 kB / 0.7342 GB, free: 4.832 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.8091, allocations: 0 / 0.7342 GB, free: 4.832 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001265/0.8092, allocations: 148.5 kB / 0.7343 GB, free: 4.676 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.542e-05/0.8092, allocations: 81.11 kB / 0.7344 GB, free: 4.578 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.354e-05/0.8093, allocations: 0 / 0.7344 GB, free: 4.578 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.201e-05/0.8093, allocations: 0 / 0.7344 GB, free: 4.578 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.301e-05/0.8094, allocations: 11.94 kB / 0.7344 GB, free: 4.566 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.447e-06/0.8094, allocations: 0 / 0.7344 GB, free: 4.566 MB / 490.7 MB Notification: Performance of sorting global known variables: time 5.408e-05/0.8094, allocations: 96.16 kB / 0.7345 GB, free: 4.48 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.8094, allocations: 0 / 0.7345 GB, free: 4.48 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002412/0.8097, allocations: 12 kB / 0.7345 GB, free: 4.469 MB / 490.7 MB 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0004782/0.8102, allocations: 0.6978 MB / 0.7352 GB, free: 3.754 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 8.014e-05/0.8103, allocations: 15 kB / 0.7352 GB, free: 3.742 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.8103, allocations: 0 / 0.7352 GB, free: 3.742 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.188e-05/0.8103, allocations: 11.19 kB / 0.7352 GB, free: 3.734 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001423/0.8105, allocations: 8.109 kB / 0.7352 GB, free: 3.727 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003768/0.8108, allocations: 109.7 kB / 0.7354 GB, free: 3.59 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002947/0.8111, allocations: 0.6809 MB / 0.736 GB, free: 2.883 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.901e-05/0.8112, allocations: 3.984 kB / 0.736 GB, free: 2.879 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.71e-05/0.8112, allocations: 14.88 kB / 0.736 GB, free: 2.867 MB / 490.7 MB Notification: Performance of SimCode: time 2.5e-07/0.8112, allocations: 0 / 0.736 GB, free: 2.867 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01212/0.8234, allocations: 1.245 MB / 0.7373 GB, free: 1.73 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002168/0.8236, allocations: 151.2 kB / 0.7374 GB, free: 1.504 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.572/2.395, allocations: 0 / 0.7374 GB, free: 1.504 MB / 490.7 MB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Splice.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Splice.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Splice.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Splice_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Splice.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Splice.pipe 2>&1)