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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009279/0.0009279, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.913/0.913, allocations: 177.2 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7352/0.7352, allocations: 154.5 MB / 413.7 MB, free: 0.8164 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.764e-06/1.764e-06, allocations: 3.938 kB / 0.618 GB, free: 13.75 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.576e-05/1.752e-05, allocations: 7.391 kB / 0.6181 GB, free: 13.74 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Splice): time 0.001785/0.001803, allocations: 1.516 MB / 0.6195 GB, free: 12.21 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.00084/0.002643, allocations: 0.6893 MB / 0.6202 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.155e-05/0.002694, allocations: 0 / 0.6202 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.785e-05/0.002722, allocations: 11.92 kB / 0.6202 GB, free: 11.51 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.212e-05/0.002764, allocations: 11.86 kB / 0.6202 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003531/0.003117, allocations: 87.66 kB / 0.6203 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 9.64e-05/0.003214, allocations: 43.84 kB / 0.6204 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.736e-05/0.003301, allocations: 8 kB / 0.6204 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 9.723e-05/0.003398, allocations: 27.91 kB / 0.6204 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.434e-05/0.003443, allocations: 15.92 kB / 0.6204 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.246e-05/0.003455, allocations: 4 kB / 0.6204 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000154/0.003609, allocations: 119.8 kB / 0.6205 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.084e-05/0.00362, allocations: 4 kB / 0.6205 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.924e-05/0.003639, allocations: 11.98 kB / 0.6205 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.000154/0.003793, allocations: 111.7 kB / 0.6206 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.824e-06/0.003795, allocations: 0 / 0.6206 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.183e-06/0.003796, allocations: 0 / 0.6206 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.0038, allocations: 0 / 0.6206 GB, free: 11.07 MB / 0.5886 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.0003316/0.004132, allocations: 297.9 kB / 0.6209 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.004168, allocations: 17.47 kB / 0.6209 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.815e-05/0.004196, allocations: 34.73 kB / 0.621 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.246e-05/0.004289, allocations: 8.938 kB / 0.621 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001506/0.004439, allocations: 125.7 kB / 0.6211 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.047e-06/0.004448, allocations: 4.375 kB / 0.6211 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.246e-06/0.004457, allocations: 384 / 0.6211 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001187/0.004575, allocations: 62.17 kB / 0.6212 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.612e-06/0.004582, allocations: 192 / 0.6212 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.747e-06/0.004591, allocations: 4.125 kB / 0.6212 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.157e-06/0.004595, allocations: 0 / 0.6212 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.658e-05/0.004652, allocations: 31.98 kB / 0.6212 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002617/0.004913, allocations: 239.9 kB / 0.6214 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 5.89e-05/0.004972, allocations: 34.5 kB / 0.6215 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.873e-05/0.005001, allocations: 12.92 kB / 0.6215 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001573/0.005158, allocations: 39.97 kB / 0.6215 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.939e-05/0.005177, allocations: 46.48 kB / 0.6216 GB, free: 10 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 8.12e-07/0.005178, allocations: 0 / 0.6216 GB, free: 10 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0001752/0.005354, allocations: 65.56 kB / 0.6216 GB, free: 9.93 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.655e-05/0.00538, allocations: 51.41 kB / 0.6217 GB, free: 9.867 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.265e-05/0.005453, allocations: 137.4 kB / 0.6218 GB, free: 9.727 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.588e-06/0.005462, allocations: 25.7 kB / 0.6218 GB, free: 9.695 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.426e-05/0.005497, allocations: 88.14 kB / 0.6219 GB, free: 9.605 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.251e-05/0.005509, allocations: 3.953 kB / 0.6219 GB, free: 9.602 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.68e-05/0.005536, allocations: 21.7 kB / 0.6219 GB, free: 9.574 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.586e-05/0.005612, allocations: 318.9 kB / 0.6222 GB, free: 9.254 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.352e-05/0.005635, allocations: 11.98 kB / 0.6222 GB, free: 9.242 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.837e-05/0.005654, allocations: 8 kB / 0.6223 GB, free: 9.234 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.008e-05/0.005704, allocations: 24.84 kB / 0.6223 GB, free: 9.207 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.005706, allocations: 0 / 0.6223 GB, free: 9.207 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.365e-05/0.005779, allocations: 69.56 kB / 0.6223 GB, free: 9.133 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/0.005791, allocations: 4 kB / 0.6224 GB, free: 9.129 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.738e-06/0.005794, allocations: 96 / 0.6224 GB, free: 9.129 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.005805, allocations: 4 kB / 0.6224 GB, free: 9.125 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.593e-05/0.005851, allocations: 4 kB / 0.6224 GB, free: 9.121 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.058e-06/0.005855, allocations: 3.938 kB / 0.6224 GB, free: 9.117 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.754e-05/0.005873, allocations: 7.938 kB / 0.6224 GB, free: 9.109 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.321e-06/0.005879, allocations: 3.984 kB / 0.6224 GB, free: 9.105 MB / 0.5886 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 5.292e-05/0.005932, allocations: 114.8 kB / 0.6225 GB, free: 8.984 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.228e-05/0.005944, allocations: 0 / 0.6225 GB, free: 8.984 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001039/0.006048, allocations: 65.3 kB / 0.6225 GB, free: 8.91 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.00605, allocations: 4.031 kB / 0.6225 GB, free: 8.906 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.006054, allocations: 0 / 0.6225 GB, free: 8.906 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.564e-06/0.006057, allocations: 0 / 0.6225 GB, free: 8.906 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001072/0.006164, allocations: 144.6 kB / 0.6227 GB, free: 8.723 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.006165, allocations: 3.938 kB / 0.6227 GB, free: 8.719 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.889e-05/0.006184, allocations: 7.984 kB / 0.6227 GB, free: 8.711 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.006186, allocations: 0 / 0.6227 GB, free: 8.711 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-06/0.006191, allocations: 4 kB / 0.6227 GB, free: 8.707 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.006193, allocations: 0 / 0.6227 GB, free: 8.707 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.006194, allocations: 0 / 0.6227 GB, free: 8.707 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001003/0.006294, allocations: 151.5 kB / 0.6228 GB, free: 8.543 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.037e-05/0.006304, allocations: 7.938 kB / 0.6229 GB, free: 8.535 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.598e-06/0.006314, allocations: 0 / 0.6229 GB, free: 8.535 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.288e-05/0.006347, allocations: 8 kB / 0.6229 GB, free: 8.527 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.693e-05/0.006374, allocations: 0 / 0.6229 GB, free: 8.527 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-06/0.006376, allocations: 0 / 0.6229 GB, free: 8.527 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.737e-05/0.006414, allocations: 95.27 kB / 0.623 GB, free: 8.434 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.006414, allocations: 3.938 kB / 0.623 GB, free: 8.43 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001671/0.006581, allocations: 15.98 kB / 0.623 GB, free: 8.414 MB / 0.5886 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.0003518/0.006933, allocations: 0.7085 MB / 0.6237 GB, free: 7.676 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 9.359e-05/0.007026, allocations: 19.98 kB / 0.6237 GB, free: 7.656 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.007028, allocations: 4 kB / 0.6237 GB, free: 7.652 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.355e-05/0.007051, allocations: 15.92 kB / 0.6237 GB, free: 7.637 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001612/0.007212, allocations: 4 kB / 0.6237 GB, free: 7.633 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008724/0.008085, allocations: 1.316 MB / 0.625 GB, free: 6.234 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.742e-05/0.008132, allocations: 67.34 kB / 0.6251 GB, free: 6.148 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.031e-05/0.008153, allocations: 0 / 0.6251 GB, free: 6.148 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.383e-05/0.008186, allocations: 20.48 kB / 0.6251 GB, free: 6.129 MB / 0.5886 GB Notification: Performance of SimCode: time 5.71e-07/0.008187, allocations: 0 / 0.6251 GB, free: 6.129 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01545/0.02364, allocations: 2.297 MB / 0.6273 GB, free: 3.977 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.991/7.015, allocations: 10.33 kB / 0.6273 GB, free: 3.973 MB / 0.5886 GB " [Timeout remaining time 653] (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 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_Splice.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.75348287075758] Failed to read output from testmodel.py, exit status != 0: 7.100523015484214 7.110676511 7.10520791 Calling exit ...