Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.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(IDEAS.Utilities.Math.Examples.Splice,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_Splice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.Splice,fileNamePrefix="IDEAS_dev_IDEAS_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.005207/0.005207, allocations: 101.7 kB / 15.73 MB, free: 6.055 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.00121/0.00121, allocations: 193.3 kB / 16.68 MB, free: 5.977 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.343/1.343, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7856/0.7856, allocations: 135.6 MB / 426.1 MB, free: 3.688 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001737/0.001737, allocations: 64.39 kB / 0.5857 GB, free: 21.58 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.1314, allocations: 81.04 MB / 0.6649 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Splice): time 0.002378/0.1339, allocations: 1.485 MB / 0.6663 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000957/0.1348, allocations: 0.6357 MB / 0.6669 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.049e-05/0.1349, allocations: 0 / 0.6669 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.718e-05/0.1349, allocations: 3.938 kB / 0.6669 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.961e-05/0.135, allocations: 11.94 kB / 0.667 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003042/0.1353, allocations: 75.73 kB / 0.667 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.64e-05/0.1354, allocations: 35.86 kB / 0.6671 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.682e-05/0.1354, allocations: 15.97 kB / 0.6671 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.22e-05/0.1355, allocations: 19.92 kB / 0.6671 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.935e-05/0.1356, allocations: 15.94 kB / 0.6671 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.113e-05/0.1356, allocations: 4 kB / 0.6671 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001765/0.1358, allocations: 95.89 kB / 0.6672 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.377e-05/0.1358, allocations: 11.92 kB / 0.6672 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.794e-05/0.1358, allocations: 19.88 kB / 0.6672 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001529/0.136, allocations: 76 kB / 0.6673 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.136, allocations: 4 kB / 0.6673 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.243e-06/0.136, allocations: 0 / 0.6673 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.108e-06/0.136, allocations: 0 / 0.6673 GB, free: 3.109 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.0004013/0.1364, allocations: 363.2 kB / 0.6677 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.1365, allocations: 17.11 kB / 0.6677 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.65e-05/0.1365, allocations: 34.73 kB / 0.6677 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.186e-05/0.1365, allocations: 0.9375 kB / 0.6677 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001207/0.1366, allocations: 172.3 kB / 0.6679 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.1367, allocations: 8.375 kB / 0.6679 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.316e-06/0.1367, allocations: 384 / 0.6679 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001367/0.1368, allocations: 65.72 kB / 0.668 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.702e-06/0.1368, allocations: 0 / 0.668 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.903e-06/0.1368, allocations: 0 / 0.668 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.1369, allocations: 4 kB / 0.668 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.723e-05/0.1369, allocations: 31.97 kB / 0.668 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003365/0.1373, allocations: 280.7 kB / 0.6683 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.124e-05/0.1374, allocations: 30.62 kB / 0.6683 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.446e-05/0.1374, allocations: 16.86 kB / 0.6683 GB, free: 1.945 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004899/0.1379, allocations: 0.5622 MB / 0.6688 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.138, allocations: 30.56 kB / 0.6689 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 2.785e-06/0.138, allocations: 0 / 0.6689 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0002169/0.1382, allocations: 65.58 kB / 0.6689 GB, free: 1.145 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.252e-05/0.1382, allocations: 59.39 kB / 0.669 GB, free: 1.074 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.545e-05/0.1383, allocations: 122 kB / 0.6691 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.33e-05/0.1384, allocations: 25.7 kB / 0.6691 GB, free: 0.9141 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.867e-05/0.1384, allocations: 88.14 kB / 0.6692 GB, free: 0.8242 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.099e-05/0.1384, allocations: 11.94 kB / 0.6692 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.799e-05/0.1385, allocations: 9.719 kB / 0.6692 GB, free: 0.7969 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001281/0.1386, allocations: 326.7 kB / 0.6696 GB, free: 480 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.227e-05/0.1387, allocations: 7.984 kB / 0.6696 GB, free: 472 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.561e-05/0.1387, allocations: 16 kB / 0.6696 GB, free: 456 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.987e-05/0.1388, allocations: 32.84 kB / 0.6696 GB, free: 420 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.1388, allocations: 0 / 0.6696 GB, free: 420 kB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001194/0.1389, allocations: 53.67 kB / 0.6697 GB, free: 360 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.045e-05/0.1389, allocations: 4 kB / 0.6697 GB, free: 356 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.106e-06/0.139, allocations: 0 / 0.6697 GB, free: 356 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.907e-06/0.139, allocations: 4 kB / 0.6697 GB, free: 352 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.693e-05/0.139, allocations: 4 kB / 0.6697 GB, free: 348 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.439e-06/0.139, allocations: 4.031 kB / 0.6697 GB, free: 344 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.132e-05/0.1391, allocations: 3.953 kB / 0.6697 GB, free: 340 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.271e-05/0.1391, allocations: 11.92 kB / 0.6697 GB, free: 328 kB / 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.972e-05/0.1392, allocations: 109.8 kB / 0.6698 GB, free: 208 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.544e-05/0.1392, allocations: 4 kB / 0.6698 GB, free: 204 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001524/0.1394, allocations: 73.06 kB / 0.6699 GB, free: 124 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.1394, allocations: 0 / 0.6699 GB, free: 124 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/0.1394, allocations: 0 / 0.6699 GB, free: 124 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.1394, allocations: 4.031 kB / 0.6699 GB, free: 120 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001764/0.1396, allocations: 165.6 kB / 0.67 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.1396, allocations: 0 / 0.67 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.925e-05/0.1396, allocations: 4 kB / 0.67 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.1396, allocations: 4 kB / 0.67 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.1396, allocations: 3.984 kB / 0.67 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.1396, allocations: 0 / 0.67 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1396, allocations: 0 / 0.67 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001622/0.1398, allocations: 163.4 kB / 0.6702 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.444e-05/0.1399, allocations: 77.11 kB / 0.6703 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.327e-05/0.1399, allocations: 3.984 kB / 0.6703 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.872e-05/0.1399, allocations: 4 kB / 0.6703 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.041e-05/0.14, allocations: 0 / 0.6703 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-06/0.14, allocations: 0 / 0.6703 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.094e-05/0.14, allocations: 103.2 kB / 0.6704 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.14, allocations: 0 / 0.6704 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002123/0.1403, allocations: 19.92 kB / 0.6704 GB, free: 15.5 MB / 0.5137 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 (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.0004657/0.1407, allocations: 0.6852 MB / 0.6711 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001153/0.1409, allocations: 23.92 kB / 0.6711 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.1409, allocations: 4.094 kB / 0.6711 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 4.609e-05/0.1409, allocations: 15.98 kB / 0.6711 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001946/0.1411, allocations: 7.938 kB / 0.6711 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001279/0.1424, allocations: 1.323 MB / 0.6724 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000291/0.1427, allocations: 0.6807 MB / 0.6731 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.341e-05/0.1427, allocations: 4 kB / 0.6731 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.398e-05/0.1428, allocations: 15.44 kB / 0.6731 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of SimCode: time 2.51e-07/0.1428, allocations: 3.938 kB / 0.6731 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.941/3.084, allocations: 1.484 MB / 0.6745 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.56/13.64, allocations: 3.062 kB / 0.6745 GB, free: 11.18 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_Splice_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_Splice.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.pipe 2>&1)