Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Examples.Splice,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_Splice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.Splice,fileNamePrefix="BuildingSystems_BuildingSystems_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.001225/0.001225, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001229/0.001229, allocations: 195.3 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.271/1.271, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001885/0.001885, allocations: 298.5 kB / 290.4 MB, free: 2.137 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8712/0.8712, allocations: 169.2 MB / 0.4978 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001477/0.001477, allocations: 95.11 kB / 0.5948 GB, free: 28.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.123, allocations: 86.98 MB / 0.6797 GB, free: 0.9453 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Splice): time 0.002017/0.125, allocations: 1.549 MB / 0.6812 GB, free: 15.39 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007552/0.1258, allocations: 0.646 MB / 0.6819 GB, free: 14.74 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.253e-05/0.1258, allocations: 0 / 0.6819 GB, free: 14.74 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.514e-05/0.1259, allocations: 4.562 kB / 0.6819 GB, free: 14.74 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.186e-05/0.1259, allocations: 4.516 kB / 0.6819 GB, free: 14.73 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000242/0.1262, allocations: 73.03 kB / 0.682 GB, free: 14.66 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.924e-05/0.1262, allocations: 35.86 kB / 0.682 GB, free: 14.63 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.586e-05/0.1263, allocations: 20.77 kB / 0.682 GB, free: 14.61 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.988e-05/0.1263, allocations: 12 kB / 0.682 GB, free: 14.6 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.756e-05/0.1264, allocations: 19.86 kB / 0.682 GB, free: 14.58 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.878e-06/0.1264, allocations: 7.984 kB / 0.682 GB, free: 14.57 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001395/0.1265, allocations: 99.89 kB / 0.6821 GB, free: 14.47 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.835e-06/0.1266, allocations: 3.938 kB / 0.6821 GB, free: 14.47 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.405e-05/0.1266, allocations: 23.86 kB / 0.6822 GB, free: 14.45 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001175/0.1267, allocations: 83.83 kB / 0.6822 GB, free: 14.36 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.1267, allocations: 4 kB / 0.6822 GB, free: 14.36 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.32e-07/0.1267, allocations: 0 / 0.6822 GB, free: 14.36 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.216e-06/0.1267, allocations: 4 kB / 0.6823 GB, free: 14.36 MB / 494.1 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.0002959/0.127, allocations: 355.4 kB / 0.6826 GB, free: 13.96 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.679e-05/0.1271, allocations: 8.031 kB / 0.6826 GB, free: 13.95 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.779e-05/0.1271, allocations: 42.75 kB / 0.6826 GB, free: 13.9 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.785e-05/0.1271, allocations: 4.844 kB / 0.6826 GB, free: 13.9 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.959e-05/0.1272, allocations: 172.3 kB / 0.6828 GB, free: 13.69 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.884e-06/0.1272, allocations: 4.312 kB / 0.6828 GB, free: 13.69 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.945e-06/0.1272, allocations: 4.375 kB / 0.6828 GB, free: 13.68 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001113/0.1274, allocations: 57.8 kB / 0.6829 GB, free: 13.62 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.029e-06/0.1274, allocations: 4 kB / 0.6829 GB, free: 13.62 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.402e-06/0.1274, allocations: 0 / 0.6829 GB, free: 13.62 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.585e-06/0.1274, allocations: 3.938 kB / 0.6829 GB, free: 13.61 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.837e-05/0.1275, allocations: 31.97 kB / 0.6829 GB, free: 13.58 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002628/0.1277, allocations: 284.7 kB / 0.6832 GB, free: 13.25 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.804e-05/0.1278, allocations: 38.5 kB / 0.6832 GB, free: 13.21 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.947e-05/0.1279, allocations: 12.92 kB / 0.6832 GB, free: 13.19 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003683/0.1282, allocations: 0.5622 MB / 0.6838 GB, free: 12.5 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.729e-05/0.1283, allocations: 30.56 kB / 0.6838 GB, free: 12.46 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.1283, allocations: 0 / 0.6838 GB, free: 12.46 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001839/0.1285, allocations: 57.69 kB / 0.6839 GB, free: 12.4 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.296e-05/0.1285, allocations: 59.39 kB / 0.6839 GB, free: 12.33 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.987e-05/0.1286, allocations: 125.8 kB / 0.684 GB, free: 12.2 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.062e-05/0.1286, allocations: 25.7 kB / 0.6841 GB, free: 12.16 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.95e-05/0.1286, allocations: 84.14 kB / 0.6841 GB, free: 12.08 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.254e-05/0.1286, allocations: 7.906 kB / 0.6842 GB, free: 12.07 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.824e-05/0.1287, allocations: 17.64 kB / 0.6842 GB, free: 12.05 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.861e-05/0.1287, allocations: 326.9 kB / 0.6845 GB, free: 11.72 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.807e-05/0.1288, allocations: 11.98 kB / 0.6845 GB, free: 11.71 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.972e-05/0.1288, allocations: 8 kB / 0.6845 GB, free: 11.7 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.647e-05/0.1289, allocations: 24.84 kB / 0.6845 GB, free: 11.67 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.1289, allocations: 0 / 0.6845 GB, free: 11.67 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001066/0.129, allocations: 57.58 kB / 0.6846 GB, free: 11.61 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.426e-06/0.129, allocations: 4.094 kB / 0.6846 GB, free: 11.61 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.304e-06/0.129, allocations: 4 kB / 0.6846 GB, free: 11.6 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.192e-06/0.1291, allocations: 4 kB / 0.6846 GB, free: 11.6 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.137e-05/0.1291, allocations: 4 kB / 0.6846 GB, free: 11.59 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.445e-06/0.1291, allocations: 3.938 kB / 0.6846 GB, free: 11.59 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.877e-05/0.1291, allocations: 0 / 0.6846 GB, free: 11.59 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.006e-05/0.1292, allocations: 11.94 kB / 0.6846 GB, free: 11.58 MB / 494.1 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 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.244e-05/0.1292, allocations: 114.4 kB / 0.6847 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.348e-05/0.1292, allocations: 7.906 kB / 0.6847 GB, free: 11.45 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000128/0.1294, allocations: 65.2 kB / 0.6848 GB, free: 11.38 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.1294, allocations: 0 / 0.6848 GB, free: 11.38 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.1294, allocations: 0 / 0.6848 GB, free: 11.38 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.442e-06/0.1294, allocations: 0 / 0.6848 GB, free: 11.38 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001311/0.1295, allocations: 169.6 kB / 0.6849 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.1295, allocations: 0 / 0.6849 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.772e-05/0.1296, allocations: 4 kB / 0.685 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.1296, allocations: 4 kB / 0.685 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.871e-06/0.1296, allocations: 3.984 kB / 0.685 GB, free: 11.15 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.1296, allocations: 8.031 kB / 0.685 GB, free: 11.14 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1296, allocations: 7.922 kB / 0.685 GB, free: 11.14 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001269/0.1298, allocations: 147.5 kB / 0.6851 GB, free: 10.98 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.802e-05/0.1298, allocations: 81.02 kB / 0.6852 GB, free: 10.88 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.302e-05/0.1298, allocations: 7.984 kB / 0.6852 GB, free: 10.87 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.756e-05/0.1299, allocations: 4 kB / 0.6852 GB, free: 10.87 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.538e-05/0.1299, allocations: 0 / 0.6852 GB, free: 10.87 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-06/0.1299, allocations: 4.031 kB / 0.6852 GB, free: 10.86 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.298e-05/0.1299, allocations: 99.2 kB / 0.6853 GB, free: 10.77 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.13, allocations: 0 / 0.6853 GB, free: 10.77 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002018/0.1302, allocations: 15.94 kB / 0.6853 GB, free: 10.75 MB / 494.1 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 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003621/0.1305, allocations: 0.6929 MB / 0.686 GB, free: 10.03 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 9.691e-05/0.1306, allocations: 23.98 kB / 0.686 GB, free: 10.01 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.112e-06/0.1306, allocations: 0 / 0.686 GB, free: 10.01 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.915e-05/0.1307, allocations: 15.98 kB / 0.686 GB, free: 9.992 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001729/0.1309, allocations: 1.688 kB / 0.686 GB, free: 9.992 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009568/0.1318, allocations: 1.32 MB / 0.6873 GB, free: 8.594 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001706/0.132, allocations: 0.6807 MB / 0.688 GB, free: 7.887 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.051e-05/0.132, allocations: 7.984 kB / 0.688 GB, free: 7.879 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.342e-05/0.1321, allocations: 15.44 kB / 0.688 GB, free: 7.863 MB / 494.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1321, allocations: 0 / 0.688 GB, free: 7.863 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.446/1.578, allocations: 1.38 MB / 0.6894 GB, free: 6.594 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003192/1.578, allocations: 195.2 kB / 0.6895 GB, free: 6.344 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.667/3.245, allocations: 4 kB / 0.6895 GB, free: 6.34 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_Splice_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_Splice.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.pipe 2>&1)