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.742/0.742, allocations: 128.7 MB / 143.7 MB, free: 2.301 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001315/0.001315, allocations: 183.9 kB / 173.7 MB, free: 6.105 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.778/1.778, allocations: 205.4 MB / 409 MB, free: 10.5 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.0008798/0.0008796, allocations: 97.02 kB / 486.6 MB, free: 13 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003329/0.0003332, allocations: 10.19 kB / 0.5604 GB, free: 97.55 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1531/0.1535, allocations: 76.77 MB / 0.6354 GB, free: 30.45 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1376/0.2912, allocations: 104 MB / 0.737 GB, free: 6.312 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003131/0.2915, allocations: 79.95 kB / 0.737 GB, free: 6.234 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.00599/0.2976, allocations: 1.855 MB / 0.7388 GB, free: 4.375 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.846e-06/0.2976, allocations: 0 / 0.7388 GB, free: 4.375 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.133e-06/0.2976, allocations: 0 / 0.7388 GB, free: 4.375 MB / 0.5105 GB 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.0003928/0.298, allocations: 371.2 kB / 0.7392 GB, free: 3.965 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/0.2981, allocations: 8.031 kB / 0.7392 GB, free: 3.957 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.037e-05/0.2981, allocations: 42.56 kB / 0.7392 GB, free: 3.906 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.829e-05/0.2981, allocations: 7.859 kB / 0.7393 GB, free: 3.898 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001338/0.2983, allocations: 174.9 kB / 0.7394 GB, free: 3.688 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.2983, allocations: 0 / 0.7394 GB, free: 3.688 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.095e-05/0.2983, allocations: 4 kB / 0.7394 GB, free: 3.684 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001494/0.2985, allocations: 49.69 kB / 0.7395 GB, free: 3.629 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.2985, allocations: 0 / 0.7395 GB, free: 3.629 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.2985, allocations: 4 kB / 0.7395 GB, free: 3.625 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.2985, allocations: 0 / 0.7395 GB, free: 3.625 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.634e-05/0.2986, allocations: 47.84 kB / 0.7395 GB, free: 3.578 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003769/0.299, allocations: 276.8 kB / 0.7398 GB, free: 3.258 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 8.14e-05/0.2991, allocations: 30.58 kB / 0.7398 GB, free: 3.219 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000412/0.2995, allocations: 0.5624 MB / 0.7404 GB, free: 2.527 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.447e-05/0.2996, allocations: 34.52 kB / 0.7404 GB, free: 2.484 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 1.262e-06/0.2996, allocations: 0 / 0.7404 GB, free: 2.484 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0002503/0.2998, allocations: 77.62 kB / 0.7405 GB, free: 2.402 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.159e-05/0.2999, allocations: 55.39 kB / 0.7405 GB, free: 2.336 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.984e-05/0.3, allocations: 116.9 kB / 0.7406 GB, free: 2.215 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.445e-05/0.3, allocations: 25.7 kB / 0.7407 GB, free: 2.184 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.696e-05/0.3, allocations: 90.31 kB / 0.7407 GB, free: 2.094 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.848e-05/0.3001, allocations: 11.84 kB / 0.7408 GB, free: 2.082 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.387e-06/0.3001, allocations: 3.938 kB / 0.7408 GB, free: 2.078 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.3002, allocations: 318.8 kB / 0.7411 GB, free: 1.758 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.149e-05/0.3002, allocations: 12.03 kB / 0.7411 GB, free: 1.746 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.452e-05/0.3003, allocations: 15.98 kB / 0.7411 GB, free: 1.73 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.106e-05/0.3003, allocations: 8 kB / 0.7411 GB, free: 1.723 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3003, allocations: 0 / 0.7411 GB, free: 1.723 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001247/0.3005, allocations: 61.72 kB / 0.7412 GB, free: 1.656 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.3005, allocations: 11.98 kB / 0.7412 GB, free: 1.645 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.3005, allocations: 3.953 kB / 0.7412 GB, free: 1.641 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.3005, allocations: 4 kB / 0.7412 GB, free: 1.637 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.391e-05/0.3006, allocations: 4 kB / 0.7412 GB, free: 1.633 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.3006, allocations: 0 / 0.7412 GB, free: 1.633 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.811e-05/0.3007, allocations: 7.906 kB / 0.7412 GB, free: 1.625 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.004e-06/0.3007, allocations: 0 / 0.7412 GB, free: 1.625 MB / 0.5105 GB 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 () * Number of clocked 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 7.228e-05/0.3007, allocations: 113.8 kB / 0.7413 GB, free: 1.504 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.313e-05/0.3008, allocations: 4 kB / 0.7413 GB, free: 1.5 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001893/0.301, allocations: 69.19 kB / 0.7414 GB, free: 1.422 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.301, allocations: 11.89 kB / 0.7414 GB, free: 1.41 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.301, allocations: 0 / 0.7414 GB, free: 1.41 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.301, allocations: 0 / 0.7414 GB, free: 1.41 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001472/0.3012, allocations: 165.7 kB / 0.7415 GB, free: 1.199 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3012, allocations: 3.938 kB / 0.7415 GB, free: 1.195 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.295e-05/0.3012, allocations: 8.031 kB / 0.7415 GB, free: 1.188 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.3012, allocations: 0 / 0.7415 GB, free: 1.188 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.3012, allocations: 3.984 kB / 0.7415 GB, free: 1.184 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.3012, allocations: 0 / 0.7415 GB, free: 1.184 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.3012, allocations: 7.953 kB / 0.7416 GB, free: 1.176 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001557/0.3014, allocations: 151.5 kB / 0.7417 GB, free: 1.012 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.025e-05/0.3015, allocations: 81.14 kB / 0.7418 GB, free: 0.9141 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.579e-05/0.3015, allocations: 8 kB / 0.7418 GB, free: 0.9062 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.016e-05/0.3015, allocations: 3.984 kB / 0.7418 GB, free: 0.9023 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.215e-05/0.3016, allocations: 7.953 kB / 0.7418 GB, free: 0.8945 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/0.3016, allocations: 0 / 0.7418 GB, free: 0.8945 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 5.326e-05/0.3016, allocations: 91.27 kB / 0.7419 GB, free: 0.8047 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3016, allocations: 3.938 kB / 0.7419 GB, free: 0.8008 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.000208/0.3019, allocations: 12 kB / 0.7419 GB, free: 0.7891 MB / 0.5105 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 (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.0004555/0.3023, allocations: 0.7043 MB / 0.7426 GB, free: 60 kB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001219/0.3025, allocations: 28.02 kB / 0.7426 GB, free: 32 kB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.3025, allocations: 4 kB / 0.7426 GB, free: 28 kB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 4.501e-05/0.3025, allocations: 15.92 kB / 0.7426 GB, free: 12 kB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001279/0.3027, allocations: 7.938 kB / 0.7426 GB, free: 4 kB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.267/0.5696, allocations: 472.3 kB / 0.7431 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001386/0.5698, allocations: 0.6862 MB / 0.7438 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 2.878e-05/0.5699, allocations: 3.406 kB / 0.7438 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.998e-05/0.5699, allocations: 17.78 kB / 0.7438 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of SimCode: time 1.362e-06/0.5699, allocations: 0.5938 kB / 0.7438 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01174/0.5817, allocations: 1.251 MB / 0.745 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001363/0.5818, allocations: 178.5 kB / 0.7452 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.486/2.068, allocations: 0 / 0.7452 GB, free: 107.9 MB / 0.5105 GB (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)