Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.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.001181/0.001181, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001589/0.001589, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9399/0.9399, allocations: 177.1 MB / 202.8 MB, free: 5.727 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.7329/0.7329, allocations: 154.5 MB / 413.7 MB, free: 0.8203 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.Functions.Examples.SpliceFunction,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_SpliceFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_SpliceFunction",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.05e-05/2.221e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001406/0.001428, allocations: 0.5967 MB / 0.6187 GB, free: 13.05 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001285/0.002714, allocations: 1.279 MB / 0.6199 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.648e-05/0.00273, allocations: 0 / 0.6199 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.536e-05/0.002746, allocations: 0 / 0.6199 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.963e-06/0.002752, allocations: 0 / 0.6199 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003466/0.003099, allocations: 71.62 kB / 0.62 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 5.141e-05/0.00315, allocations: 0 / 0.62 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.595e-05/0.003196, allocations: 3.984 kB / 0.62 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.241e-05/0.003229, allocations: 8 kB / 0.62 GB, free: 11.67 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.17e-05/0.003271, allocations: 0 / 0.62 GB, free: 11.67 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 9.949e-06/0.00328, allocations: 0 / 0.62 GB, free: 11.67 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002476/0.003528, allocations: 111.8 kB / 0.6201 GB, free: 11.56 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 9.578e-06/0.003538, allocations: 3.984 kB / 0.6201 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.571e-05/0.003553, allocations: 0 / 0.6201 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001321/0.003686, allocations: 71.84 kB / 0.6202 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.003688, allocations: 0 / 0.6202 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.803e-06/0.00369, allocations: 0 / 0.6202 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.003695, allocations: 0 / 0.6202 GB, free: 11.48 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003837/0.004078, allocations: 254.3 kB / 0.6204 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.004121, allocations: 17.47 kB / 0.6205 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.789e-05/0.004149, allocations: 34.69 kB / 0.6205 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.08e-05/0.00418, allocations: 0.9375 kB / 0.6205 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.325e-05/0.004233, allocations: 105.7 kB / 0.6206 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.187e-06/0.004242, allocations: 384 / 0.6206 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.967e-06/0.004251, allocations: 4.375 kB / 0.6206 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.982e-05/0.004341, allocations: 34.23 kB / 0.6206 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.004349, allocations: 192 / 0.6206 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.004359, allocations: 4.125 kB / 0.6206 GB, free: 10.97 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.004364, allocations: 0 / 0.6206 GB, free: 10.97 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.957e-05/0.004383, allocations: 8 kB / 0.6206 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001196/0.004503, allocations: 116.8 kB / 0.6207 GB, free: 10.81 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 4.04e-05/0.004543, allocations: 26.48 kB / 0.6208 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.609e-05/0.004559, allocations: 4.859 kB / 0.6208 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003059/0.004865, allocations: 40.03 kB / 0.6208 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.233e-05/0.004887, allocations: 38.55 kB / 0.6209 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.004889, allocations: 0 / 0.6209 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.0001551/0.005044, allocations: 37.64 kB / 0.6209 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.21e-05/0.005076, allocations: 55.41 kB / 0.6209 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.66e-05/0.005102, allocations: 89.86 kB / 0.621 GB, free: 10.47 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.909e-06/0.005112, allocations: 29.7 kB / 0.6211 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.145e-05/0.005134, allocations: 84.08 kB / 0.6211 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.731e-05/0.005171, allocations: 0 / 0.6211 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.691e-05/0.005198, allocations: 9.719 kB / 0.6211 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.743e-05/0.005295, allocations: 318.8 kB / 0.6215 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.254e-05/0.005308, allocations: 0 / 0.6215 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.223e-06/0.005315, allocations: 0 / 0.6215 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.212e-05/0.005347, allocations: 17.05 kB / 0.6215 GB, free: 9.996 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.005349, allocations: 0 / 0.6215 GB, free: 9.996 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.088e-05/0.00539, allocations: 29.7 kB / 0.6215 GB, free: 9.961 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.005404, allocations: 8 kB / 0.6215 GB, free: 9.953 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.005411, allocations: 0 / 0.6215 GB, free: 9.953 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.005425, allocations: 3.938 kB / 0.6215 GB, free: 9.949 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.467e-05/0.00548, allocations: 3.938 kB / 0.6215 GB, free: 9.945 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.005489, allocations: 4 kB / 0.6215 GB, free: 9.941 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.588e-06/0.005498, allocations: 3.984 kB / 0.6215 GB, free: 9.938 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-06/0.005504, allocations: 0 / 0.6215 GB, free: 9.938 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 (1): * Single equations (assignments): 1 * 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.106e-05/0.005555, allocations: 118.7 kB / 0.6216 GB, free: 9.812 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.256e-06/0.005558, allocations: 0 / 0.6216 GB, free: 9.812 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.983e-05/0.005648, allocations: 40.7 kB / 0.6217 GB, free: 9.762 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.005651, allocations: 3.938 kB / 0.6217 GB, free: 9.758 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.005656, allocations: 0 / 0.6217 GB, free: 9.758 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.005659, allocations: 3.984 kB / 0.6217 GB, free: 9.754 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.536e-05/0.005725, allocations: 120.7 kB / 0.6218 GB, free: 9.594 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.005728, allocations: 4 kB / 0.6218 GB, free: 9.59 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.618e-05/0.005744, allocations: 4.031 kB / 0.6218 GB, free: 9.586 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.005746, allocations: 0 / 0.6218 GB, free: 9.586 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.643e-06/0.005752, allocations: 0 / 0.6218 GB, free: 9.586 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.307e-06/0.005756, allocations: 3.938 kB / 0.6218 GB, free: 9.582 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.005756, allocations: 4 kB / 0.6218 GB, free: 9.578 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.145e-05/0.005808, allocations: 61.06 kB / 0.6219 GB, free: 9.5 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.18e-06/0.005813, allocations: 4 kB / 0.6219 GB, free: 9.496 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.618e-06/0.005823, allocations: 0 / 0.6219 GB, free: 9.496 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.175e-06/0.005831, allocations: 3.938 kB / 0.6219 GB, free: 9.492 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.339e-05/0.005844, allocations: 3.938 kB / 0.6219 GB, free: 9.488 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.407e-06/0.005848, allocations: 0 / 0.6219 GB, free: 9.488 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.332e-05/0.005871, allocations: 87.34 kB / 0.622 GB, free: 9.402 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.005871, allocations: 0 / 0.622 GB, free: 9.402 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001518/0.006023, allocations: 7.984 kB / 0.622 GB, free: 9.395 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 (1): * Single equations (assignments): 1 * 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.0003284/0.006351, allocations: 0.6085 MB / 0.6226 GB, free: 8.758 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 7.09e-05/0.006422, allocations: 4 kB / 0.6226 GB, free: 8.754 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.006424, allocations: 0 / 0.6226 GB, free: 8.754 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.418e-06/0.006428, allocations: 4 kB / 0.6226 GB, free: 8.75 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001086/0.006537, allocations: 6.125 kB / 0.6226 GB, free: 8.746 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002585/0.006795, allocations: 114.7 kB / 0.6227 GB, free: 8.594 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.195e-05/0.006827, allocations: 51.36 kB / 0.6227 GB, free: 8.523 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 1.963e-05/0.006847, allocations: 4 kB / 0.6227 GB, free: 8.52 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.521e-05/0.006862, allocations: 12.44 kB / 0.6228 GB, free: 8.508 MB / 0.5886 GB Notification: Performance of SimCode: time 4.91e-07/0.006862, allocations: 0 / 0.6228 GB, free: 8.508 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01733/0.0242, allocations: 1.771 MB / 0.6245 GB, free: 6.867 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.971/6.995, allocations: 15.73 kB / 0.6245 GB, free: 6.859 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_SpliceFunction_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_SpliceFunction.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.756009148433805] Failed to read output from testmodel.py, exit status != 0: 7.074249845929444 7.085737487 7.080166574 Calling exit ...