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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009236/0.0009236, allocations: 100 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.0009062/0.0009063, 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.435/1.435, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9855/0.9855, allocations: 143.3 MB / 434.3 MB, free: 13.73 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003392/0.0003393, allocations: 16 kB / 0.5159 GB, free: 11.19 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2293/0.2296, allocations: 83.41 MB / 0.5973 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Splice): time 0.002191/0.2319, allocations: 1.198 MB / 0.5985 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001292/0.2332, allocations: 0.5897 MB / 0.5991 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.987e-05/0.2333, allocations: 3.938 kB / 0.5991 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.434e-05/0.2333, allocations: 3.938 kB / 0.5991 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.074e-05/0.2334, allocations: 7.969 kB / 0.5991 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003612/0.2338, allocations: 51.81 kB / 0.5992 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.625e-05/0.2339, allocations: 23.97 kB / 0.5992 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.234, allocations: 15.92 kB / 0.5992 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.158e-05/0.2341, allocations: 12 kB / 0.5992 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.925e-05/0.2342, allocations: 15.92 kB / 0.5992 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.183e-05/0.2342, allocations: 0 / 0.5992 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002379/0.2345, allocations: 91.83 kB / 0.5993 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.619e-05/0.2345, allocations: 11.94 kB / 0.5993 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.57e-05/0.2345, allocations: 25.7 kB / 0.5993 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001849/0.2347, allocations: 64.12 kB / 0.5994 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.2347, allocations: 0 / 0.5994 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.225e-06/0.2348, allocations: 0 / 0.5994 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.059e-06/0.2348, allocations: 0 / 0.5994 GB, free: 5.586 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005674/0.2354, allocations: 359.2 kB / 0.5998 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.294e-05/0.2354, allocations: 8.031 kB / 0.5998 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.073e-05/0.2355, allocations: 38.5 kB / 0.5998 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.683e-05/0.2355, allocations: 7.906 kB / 0.5998 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001612/0.2357, allocations: 171 kB / 0.6 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.2357, allocations: 4 kB / 0.6 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.157e-05/0.2357, allocations: 0 / 0.6 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002154/0.236, allocations: 65.66 kB / 0.6 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.236, allocations: 0 / 0.6 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.236, allocations: 0 / 0.6 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.236, allocations: 0 / 0.6 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001569/0.2362, allocations: 39.91 kB / 0.6001 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005224/0.2367, allocations: 276.8 kB / 0.6003 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001315/0.2369, allocations: 42.56 kB / 0.6004 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006645/0.2376, allocations: 0.5545 MB / 0.6009 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.103e-05/0.2376, allocations: 30.56 kB / 0.6009 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.462e-06/0.2376, allocations: 7.938 kB / 0.601 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003545/0.238, allocations: 77.53 kB / 0.601 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.856e-05/0.238, allocations: 51.41 kB / 0.6011 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001285/0.2382, allocations: 117.8 kB / 0.6012 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.595e-05/0.2382, allocations: 25.7 kB / 0.6012 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.309e-05/0.2383, allocations: 100.1 kB / 0.6013 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.958e-05/0.2383, allocations: 8.031 kB / 0.6013 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.817e-06/0.2383, allocations: 3.938 kB / 0.6013 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001545/0.2385, allocations: 318.8 kB / 0.6016 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.831e-05/0.2385, allocations: 7.984 kB / 0.6016 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.876e-05/0.2386, allocations: 11.94 kB / 0.6016 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.382e-05/0.2387, allocations: 15.98 kB / 0.6017 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.2387, allocations: 4.062 kB / 0.6017 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001963/0.2389, allocations: 61.62 kB / 0.6017 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.2389, allocations: 4 kB / 0.6017 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.2389, allocations: 0 / 0.6017 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.239, allocations: 0 / 0.6017 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/0.2391, allocations: 15.94 kB / 0.6017 GB, free: 2.844 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.2391, allocations: 0 / 0.6017 GB, free: 2.844 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.01e-05/0.2392, allocations: 7.938 kB / 0.6017 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.149e-05/0.2392, allocations: 4 kB / 0.6018 GB, free: 2.832 MB / 0.4981 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 0.0001045/0.2393, allocations: 109.8 kB / 0.6019 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.208e-05/0.2394, allocations: 4 kB / 0.6019 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002445/0.2396, allocations: 69.14 kB / 0.6019 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.2396, allocations: 0 / 0.6019 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.123e-05/0.2396, allocations: 11.97 kB / 0.6019 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.2397, allocations: 0 / 0.6019 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002701/0.2399, allocations: 161.7 kB / 0.6021 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.24, allocations: 0 / 0.6021 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.114e-05/0.24, allocations: 8 kB / 0.6021 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.205e-06/0.24, allocations: 0 / 0.6021 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.674e-06/0.24, allocations: 0 / 0.6021 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.968e-06/0.2401, allocations: 4 kB / 0.6021 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.2401, allocations: 0 / 0.6021 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002548/0.2403, allocations: 167.4 kB / 0.6023 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.389e-05/0.2404, allocations: 81.05 kB / 0.6023 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.913e-05/0.2404, allocations: 0 / 0.6023 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.2405, allocations: 4 kB / 0.6023 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.418e-05/0.2406, allocations: 3.984 kB / 0.6023 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.536e-06/0.2406, allocations: 4 kB / 0.6024 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001004/0.2407, allocations: 103.2 kB / 0.6024 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.2e-07/0.2407, allocations: 0 / 0.6024 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004428/0.2412, allocations: 15.86 kB / 0.6025 GB, free: 1.996 MB / 0.4981 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.0007183/0.2419, allocations: 0.6931 MB / 0.6031 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001825/0.2421, allocations: 31.92 kB / 0.6032 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.2421, allocations: 0 / 0.6032 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.485e-05/0.2422, allocations: 15.98 kB / 0.6032 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002238/0.2424, allocations: 5.25 kB / 0.6032 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001114/0.2436, allocations: 467 kB / 0.6036 GB, free: 0.7266 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000342/0.2439, allocations: 0.6926 MB / 0.6043 GB, free: 8 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.215e-05/0.244, allocations: 0 / 0.6043 GB, free: 8 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.3061/0.5501, allocations: 18.28 kB / 0.6043 GB, free: 39.82 MB / 0.4981 GB Notification: Performance of SimCode: time 1.293e-06/0.5502, allocations: 0 / 0.6043 GB, free: 39.82 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01149/0.5617, allocations: 1.254 MB / 0.6056 GB, free: 39.76 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001705/0.5619, allocations: 175.1 kB / 0.6057 GB, free: 39.53 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.656/2.218, allocations: 0 / 0.6057 GB, free: 39.53 MB / 0.4981 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) Environment - environmentSimulation: