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.001536/0.001536, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001962/0.001962, allocations: 195 kB / 16.53 MB, free: 6.391 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.468/1.468, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002256/0.002256, allocations: 291.1 kB / 290.7 MB, free: 2.004 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9627/0.9627, allocations: 169.3 MB / 0.4982 GB, free: 13.85 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001908/0.001908, allocations: 96.52 kB / 0.5953 GB, free: 28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1552/0.1571, allocations: 86.98 MB / 0.6803 GB, free: 0.6016 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Splice): time 0.002788/0.16, allocations: 1.493 MB / 0.6817 GB, free: 15.11 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001099/0.1611, allocations: 0.6515 MB / 0.6824 GB, free: 14.45 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.306e-05/0.1612, allocations: 0 / 0.6824 GB, free: 14.45 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.962e-05/0.1612, allocations: 3.938 kB / 0.6824 GB, free: 14.45 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.945e-05/0.1613, allocations: 3.938 kB / 0.6824 GB, free: 14.44 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004069/0.1617, allocations: 75.73 kB / 0.6825 GB, free: 14.37 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.252e-05/0.1618, allocations: 43.86 kB / 0.6825 GB, free: 14.32 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.738e-05/0.1619, allocations: 19.91 kB / 0.6825 GB, free: 14.3 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.681e-05/0.162, allocations: 15.94 kB / 0.6825 GB, free: 14.29 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.335e-05/0.162, allocations: 19.86 kB / 0.6826 GB, free: 14.27 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.391e-05/0.1621, allocations: 4 kB / 0.6826 GB, free: 14.27 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002172/0.1623, allocations: 107.9 kB / 0.6827 GB, free: 14.16 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.265e-05/0.1623, allocations: 0 / 0.6827 GB, free: 14.16 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.412e-05/0.1623, allocations: 19.88 kB / 0.6827 GB, free: 14.14 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001794/0.1625, allocations: 83.83 kB / 0.6828 GB, free: 14.06 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.1625, allocations: 0 / 0.6828 GB, free: 14.06 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1626, allocations: 0 / 0.6828 GB, free: 14.06 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.777e-06/0.1626, allocations: 0 / 0.6828 GB, free: 14.06 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.0004128/0.163, allocations: 367.4 kB / 0.6831 GB, free: 13.65 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.163, allocations: 8.031 kB / 0.6831 GB, free: 13.64 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.003e-05/0.1631, allocations: 38.75 kB / 0.6832 GB, free: 13.6 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.155e-05/0.1631, allocations: 4.844 kB / 0.6832 GB, free: 13.59 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000132/0.1633, allocations: 176.2 kB / 0.6833 GB, free: 13.38 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.1633, allocations: 8.359 kB / 0.6833 GB, free: 13.38 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.296e-05/0.1633, allocations: 4.375 kB / 0.6833 GB, free: 13.37 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001412/0.1634, allocations: 53.81 kB / 0.6834 GB, free: 13.31 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.988e-06/0.1635, allocations: 0 / 0.6834 GB, free: 13.31 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.1635, allocations: 3.938 kB / 0.6834 GB, free: 13.31 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.1635, allocations: 4 kB / 0.6834 GB, free: 13.3 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.041e-05/0.1636, allocations: 27.97 kB / 0.6834 GB, free: 13.28 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003417/0.1639, allocations: 288.6 kB / 0.6837 GB, free: 12.95 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.765e-05/0.164, allocations: 26.58 kB / 0.6837 GB, free: 12.91 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.53e-05/0.1641, allocations: 16.91 kB / 0.6837 GB, free: 12.89 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004803/0.1646, allocations: 0.5583 MB / 0.6843 GB, free: 12.2 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.766e-05/0.1646, allocations: 38.56 kB / 0.6843 GB, free: 12.16 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.1646, allocations: 0 / 0.6843 GB, free: 12.16 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002552/0.1649, allocations: 61.62 kB / 0.6844 GB, free: 12.09 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.399e-05/0.1649, allocations: 55.39 kB / 0.6844 GB, free: 12.02 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001116/0.165, allocations: 117.8 kB / 0.6845 GB, free: 11.9 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.616e-05/0.1651, allocations: 29.7 kB / 0.6846 GB, free: 11.86 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.706e-05/0.1651, allocations: 84.14 kB / 0.6847 GB, free: 11.78 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.951e-05/0.1652, allocations: 12.03 kB / 0.6847 GB, free: 11.77 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.971e-05/0.1652, allocations: 17.64 kB / 0.6847 GB, free: 11.74 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.1654, allocations: 322.8 kB / 0.685 GB, free: 11.42 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.882e-05/0.1654, allocations: 7.984 kB / 0.685 GB, free: 11.41 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.593e-05/0.1655, allocations: 12.52 kB / 0.685 GB, free: 11.4 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.928e-05/0.1655, allocations: 24.84 kB / 0.685 GB, free: 11.37 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1655, allocations: 8 kB / 0.685 GB, free: 11.36 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001239/0.1657, allocations: 53.59 kB / 0.6851 GB, free: 11.3 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.1657, allocations: 7.984 kB / 0.6851 GB, free: 11.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.1657, allocations: 4 kB / 0.6851 GB, free: 11.29 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.1657, allocations: 0 / 0.6851 GB, free: 11.29 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.517e-05/0.1658, allocations: 4 kB / 0.6851 GB, free: 11.29 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.1658, allocations: 0 / 0.6851 GB, free: 11.29 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.225e-05/0.1659, allocations: 0 / 0.6851 GB, free: 11.29 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.694e-06/0.1659, allocations: 7.938 kB / 0.6851 GB, free: 11.28 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 8.091e-05/0.166, allocations: 118.5 kB / 0.6852 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.153e-05/0.166, allocations: 7.906 kB / 0.6852 GB, free: 11.15 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001638/0.1662, allocations: 69.12 kB / 0.6853 GB, free: 11.07 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.1662, allocations: 0 / 0.6853 GB, free: 11.07 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.1662, allocations: 3.938 kB / 0.6853 GB, free: 11.07 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.1662, allocations: 4 kB / 0.6853 GB, free: 11.07 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000166/0.1664, allocations: 165.6 kB / 0.6855 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.1664, allocations: 0 / 0.6855 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.632e-05/0.1664, allocations: 16.03 kB / 0.6855 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.1664, allocations: 0 / 0.6855 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.152e-06/0.1665, allocations: 0 / 0.6855 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.1665, allocations: 3.984 kB / 0.6855 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1665, allocations: 0 / 0.6855 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001667/0.1666, allocations: 151.4 kB / 0.6856 GB, free: 10.67 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.225e-05/0.1667, allocations: 81.02 kB / 0.6857 GB, free: 10.57 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.274e-05/0.1667, allocations: 4.031 kB / 0.6857 GB, free: 10.57 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.392e-05/0.1668, allocations: 11.98 kB / 0.6857 GB, free: 10.56 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.831e-05/0.1668, allocations: 0 / 0.6857 GB, free: 10.56 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.516e-06/0.1668, allocations: 0 / 0.6857 GB, free: 10.56 MB / 494.1 MB Notification: Performance of sorting global known variables: time 7.153e-05/0.1669, allocations: 99.2 kB / 0.6858 GB, free: 10.46 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1669, allocations: 0 / 0.6858 GB, free: 10.46 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002294/0.1671, allocations: 11.94 kB / 0.6858 GB, free: 10.45 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.0005043/0.1677, allocations: 0.6891 MB / 0.6865 GB, free: 9.734 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001305/0.1678, allocations: 27.92 kB / 0.6865 GB, free: 9.707 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.1678, allocations: 0 / 0.6865 GB, free: 9.707 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.907e-05/0.1679, allocations: 15.98 kB / 0.6865 GB, free: 9.691 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002021/0.1681, allocations: 4.859 kB / 0.6865 GB, free: 9.688 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001284/0.1694, allocations: 1.315 MB / 0.6878 GB, free: 8.297 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002311/0.1696, allocations: 0.6806 MB / 0.6885 GB, free: 7.59 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.678e-05/0.1696, allocations: 12.12 kB / 0.6885 GB, free: 7.578 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.066e-05/0.1697, allocations: 15.44 kB / 0.6885 GB, free: 7.562 MB / 494.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1697, allocations: 7.938 kB / 0.6885 GB, free: 7.555 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01831/0.188, allocations: 1.477 MB / 0.69 GB, free: 6.145 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.253/9.441, allocations: 12.17 kB / 0.69 GB, free: 6.141 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)