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.001281/0.001281, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.001779/0.001779, allocations: 217.7 kB / 22.25 MB, free: 3.699 MB / 13.93 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 1.006/1.006, allocations: 230.6 MB / 256 MB, free: 9.785 MB / 202.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.8559/0.8559, allocations: 203.8 MB / 0.5042 GB, free: 10.69 MB / 410.7 MB " [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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009333/0.0009333, allocations: 61.81 kB / 0.7182 GB, free: 4.32 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5519/0.5528, allocations: 102 MB / 0.8179 GB, free: 1.242 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Splice): time 0.001894/0.5547, allocations: 1.535 MB / 0.8194 GB, free: 180 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009063/0.5556, allocations: 0.7692 MB / 0.8201 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.649e-05/0.5557, allocations: 0 / 0.8201 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.784e-05/0.5557, allocations: 4.547 kB / 0.8201 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.406e-05/0.5558, allocations: 10.61 kB / 0.8201 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.00037/0.5561, allocations: 96.3 kB / 0.8202 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000112/0.5562, allocations: 41.56 kB / 0.8203 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.5563, allocations: 11.69 kB / 0.8203 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001076/0.5564, allocations: 17.16 kB / 0.8203 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6e-05/0.5565, allocations: 20.42 kB / 0.8203 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.163e-05/0.5565, allocations: 5.594 kB / 0.8203 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001862/0.5567, allocations: 117.9 kB / 0.8204 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.556e-05/0.5567, allocations: 10.47 kB / 0.8204 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.009e-05/0.5568, allocations: 22.95 kB / 0.8205 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001742/0.5569, allocations: 98.97 kB / 0.8205 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.5569, allocations: 0 / 0.8205 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.034e-06/0.5569, allocations: 0.7031 kB / 0.8205 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.5569, allocations: 0 / 0.8205 GB, free: 15.45 MB / 0.6198 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.0003629/0.5573, allocations: 293.8 kB / 0.8208 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/0.5573, allocations: 10.06 kB / 0.8208 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.131e-05/0.5574, allocations: 39.53 kB / 0.8209 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001144/0.5575, allocations: 21.61 kB / 0.8209 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001679/0.5577, allocations: 122.8 kB / 0.821 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.5577, allocations: 5.734 kB / 0.821 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.258e-05/0.5577, allocations: 6.719 kB / 0.821 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001303/0.5578, allocations: 59.39 kB / 0.8211 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.5578, allocations: 0 / 0.8211 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.447e-06/0.5578, allocations: 0 / 0.8211 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.5578, allocations: 0.7031 kB / 0.8211 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.205e-05/0.5579, allocations: 30.77 kB / 0.8211 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002887/0.5582, allocations: 250.4 kB / 0.8214 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.682e-05/0.5583, allocations: 31.08 kB / 0.8214 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.529e-05/0.5583, allocations: 16.61 kB / 0.8214 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000179/0.5585, allocations: 39.52 kB / 0.8214 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.129e-05/0.5585, allocations: 34.62 kB / 0.8215 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.5585, allocations: 0 / 0.8215 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.000186/0.5587, allocations: 61.77 kB / 0.8215 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.914e-05/0.5587, allocations: 51.92 kB / 0.8216 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.346e-05/0.5588, allocations: 126 kB / 0.8217 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.051e-05/0.5588, allocations: 25.83 kB / 0.8217 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.16e-05/0.5588, allocations: 100.5 kB / 0.8218 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.56e-05/0.5589, allocations: 3.953 kB / 0.8218 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.562e-05/0.5589, allocations: 13.52 kB / 0.8218 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.343e-05/0.559, allocations: 327.4 kB / 0.8221 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.802e-05/0.559, allocations: 10.77 kB / 0.8222 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.13e-05/0.559, allocations: 13.81 kB / 0.8222 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.891e-05/0.5591, allocations: 26.41 kB / 0.8222 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.5591, allocations: 0 / 0.8222 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.055e-05/0.5591, allocations: 53.38 kB / 0.8222 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.5592, allocations: 5.188 kB / 0.8223 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.5592, allocations: 3.281 kB / 0.8223 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.5592, allocations: 0 / 0.8223 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.605e-05/0.5592, allocations: 7.672 kB / 0.8223 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.76e-06/0.5592, allocations: 2.188 kB / 0.8223 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.995e-05/0.5593, allocations: 10.19 kB / 0.8223 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.5593, allocations: 7.875 kB / 0.8223 GB, free: 13.81 MB / 0.6198 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.606e-05/0.5593, allocations: 111.5 kB / 0.8224 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.538e-05/0.5593, allocations: 10.25 kB / 0.8224 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001225/0.5595, allocations: 66.05 kB / 0.8225 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.5595, allocations: 3.938 kB / 0.8225 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.5595, allocations: 3.812 kB / 0.8225 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.594e-06/0.5595, allocations: 0 / 0.8225 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001064/0.5596, allocations: 139.5 kB / 0.8226 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.5596, allocations: 0.5156 kB / 0.8226 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.197e-05/0.5596, allocations: 8.297 kB / 0.8226 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.5596, allocations: 0 / 0.8226 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.5596, allocations: 0 / 0.8226 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.5596, allocations: 0.7031 kB / 0.8226 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.5596, allocations: 4 kB / 0.8226 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000108/0.5597, allocations: 165.5 kB / 0.8228 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.736e-06/0.5597, allocations: 7.172 kB / 0.8228 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.849e-06/0.5597, allocations: 0.5625 kB / 0.8228 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.157e-05/0.5598, allocations: 1.5 kB / 0.8228 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.885e-05/0.5598, allocations: 8.203 kB / 0.8228 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-06/0.5598, allocations: 0.6562 kB / 0.8228 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.198e-05/0.5598, allocations: 97.78 kB / 0.8229 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5598, allocations: 0 / 0.8229 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001628/0.56, allocations: 12.75 kB / 0.8229 GB, free: 13.23 MB / 0.6198 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.0003483/0.5604, allocations: 0.7023 MB / 0.8236 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 9.083e-05/0.5604, allocations: 21.42 kB / 0.8236 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.5605, allocations: 0 / 0.8236 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.65e-05/0.5605, allocations: 19.28 kB / 0.8236 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001516/0.5606, allocations: 2.344 kB / 0.8236 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000916/0.5615, allocations: 1.322 MB / 0.8249 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004453/0.562, allocations: 0.6824 MB / 0.8256 GB, free: 10.61 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.453e-05/0.562, allocations: 2.312 kB / 0.8256 GB, free: 10.61 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.392e-05/0.562, allocations: 21.16 kB / 0.8256 GB, free: 10.59 MB / 0.6198 GB Notification: Performance of SimCode: time 5.51e-07/0.562, allocations: 0 / 0.8256 GB, free: 10.59 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0139/0.5759, allocations: 1.755 MB / 0.8273 GB, free: 10.15 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.739/7.315, allocations: 11.72 kB / 0.8273 GB, free: 10.14 MB / 0.6198 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: 10.430736876791343] Failed to read output from testmodel.py, exit status != 0: 7.391449654009193 7.404833288 6.84548534 Calling exit ...