Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001162/0.001162, 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.00135/0.00135, 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.9033/0.9033, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7241/0.7241, allocations: 154.6 MB / 413.8 MB, free: 0.8125 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_IDEAS_Utilities_Math_Examples_Splice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.Splice,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_Splice",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.384e-06/2.384e-06, allocations: 0 / 0.6181 GB, free: 13.65 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.691e-05/2.929e-05, allocations: 6 kB / 0.6181 GB, free: 13.65 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Splice): time 0.002792/0.002821, allocations: 1.511 MB / 0.6196 GB, free: 12.13 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001269/0.00409, allocations: 0.6971 MB / 0.6203 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.96e-05/0.00416, allocations: 0 / 0.6203 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.334e-05/0.004193, allocations: 3.938 kB / 0.6203 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.19e-05/0.004245, allocations: 7.875 kB / 0.6203 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004933/0.004738, allocations: 103.6 kB / 0.6204 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.000136/0.004874, allocations: 39.86 kB / 0.6204 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001285/0.005003, allocations: 15.97 kB / 0.6204 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001441/0.005147, allocations: 23.92 kB / 0.6205 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.419e-05/0.005201, allocations: 11.98 kB / 0.6205 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.707e-05/0.005218, allocations: 4 kB / 0.6205 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002249/0.005443, allocations: 111.8 kB / 0.6206 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.655e-05/0.00546, allocations: 11.92 kB / 0.6206 GB, free: 11.1 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.604e-05/0.005486, allocations: 4 kB / 0.6206 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002428/0.005728, allocations: 119.7 kB / 0.6207 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.005733, allocations: 0 / 0.6207 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.222e-06/0.005734, allocations: 0 / 0.6207 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.005741, allocations: 0 / 0.6207 GB, free: 10.98 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.000463/0.006204, allocations: 300 kB / 0.621 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.244e-05/0.006256, allocations: 8.031 kB / 0.621 GB, free: 10.65 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.079e-05/0.006297, allocations: 34.75 kB / 0.621 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001466/0.006443, allocations: 16.92 kB / 0.621 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002564/0.0067, allocations: 117.6 kB / 0.6212 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.006712, allocations: 8.312 kB / 0.6212 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.354e-05/0.006725, allocations: 8.375 kB / 0.6212 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000165/0.00689, allocations: 58.2 kB / 0.6212 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.006899, allocations: 4.125 kB / 0.6212 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.006912, allocations: 8.125 kB / 0.6212 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.006918, allocations: 4 kB / 0.6212 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.217e-05/0.006991, allocations: 19.98 kB / 0.6213 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003645/0.007355, allocations: 247.8 kB / 0.6215 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 8.748e-05/0.007443, allocations: 30.56 kB / 0.6215 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.519e-05/0.007478, allocations: 16.92 kB / 0.6215 GB, free: 9.992 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002315/0.007709, allocations: 47.95 kB / 0.6216 GB, free: 9.945 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.365e-05/0.007733, allocations: 30.56 kB / 0.6216 GB, free: 9.906 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 2.064e-06/0.007735, allocations: 0 / 0.6216 GB, free: 9.906 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0002383/0.007973, allocations: 73.56 kB / 0.6217 GB, free: 9.828 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.805e-05/0.008011, allocations: 51.53 kB / 0.6217 GB, free: 9.766 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.784e-05/0.008109, allocations: 122.1 kB / 0.6219 GB, free: 9.637 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.276e-05/0.008122, allocations: 29.7 kB / 0.6219 GB, free: 9.602 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.328e-05/0.008175, allocations: 92.12 kB / 0.622 GB, free: 9.508 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.763e-05/0.008193, allocations: 3.953 kB / 0.622 GB, free: 9.504 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.374e-05/0.008227, allocations: 13.72 kB / 0.622 GB, free: 9.484 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.000115/0.008342, allocations: 326.8 kB / 0.6223 GB, free: 9.156 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.8e-05/0.00838, allocations: 4 kB / 0.6223 GB, free: 9.152 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.874e-05/0.008408, allocations: 11.98 kB / 0.6223 GB, free: 9.141 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.005e-05/0.008478, allocations: 32.86 kB / 0.6223 GB, free: 9.105 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/0.008483, allocations: 3.984 kB / 0.6224 GB, free: 9.102 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001138/0.008597, allocations: 53.64 kB / 0.6224 GB, free: 9.043 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.008613, allocations: 4 kB / 0.6224 GB, free: 9.039 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.00862, allocations: 4 kB / 0.6224 GB, free: 9.035 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.008636, allocations: 0 / 0.6224 GB, free: 9.035 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.07e-05/0.008706, allocations: 4 kB / 0.6224 GB, free: 9.031 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.008712, allocations: 0 / 0.6224 GB, free: 9.031 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.593e-05/0.008738, allocations: 7.922 kB / 0.6224 GB, free: 9.023 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.008745, allocations: 8.031 kB / 0.6224 GB, free: 9.016 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 7.042e-05/0.008816, allocations: 114.8 kB / 0.6225 GB, free: 8.895 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.36e-05/0.008839, allocations: 4 kB / 0.6225 GB, free: 8.891 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001593/0.008999, allocations: 69.19 kB / 0.6226 GB, free: 8.816 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.009001, allocations: 3.938 kB / 0.6226 GB, free: 8.812 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/0.009009, allocations: 8 kB / 0.6226 GB, free: 8.805 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.009013, allocations: 0 / 0.6226 GB, free: 8.805 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000151/0.009163, allocations: 136.6 kB / 0.6228 GB, free: 8.629 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.009165, allocations: 0 / 0.6228 GB, free: 8.629 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.614e-05/0.009201, allocations: 12.02 kB / 0.6228 GB, free: 8.617 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.009204, allocations: 0 / 0.6228 GB, free: 8.617 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.009211, allocations: 0 / 0.6228 GB, free: 8.617 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.009213, allocations: 0 / 0.6228 GB, free: 8.617 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.009214, allocations: 3.938 kB / 0.6228 GB, free: 8.613 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001421/0.009357, allocations: 159.4 kB / 0.6229 GB, free: 8.441 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.408e-05/0.009371, allocations: 7.953 kB / 0.6229 GB, free: 8.434 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.375e-05/0.009384, allocations: 0 / 0.6229 GB, free: 8.434 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.029e-05/0.009435, allocations: 0 / 0.6229 GB, free: 8.434 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.109e-05/0.009466, allocations: 7.984 kB / 0.6229 GB, free: 8.426 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.888e-06/0.00947, allocations: 4.031 kB / 0.6229 GB, free: 8.422 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 5.99e-05/0.009529, allocations: 101.9 kB / 0.623 GB, free: 8.324 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.00953, allocations: 0 / 0.623 GB, free: 8.324 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002638/0.009793, allocations: 12 kB / 0.623 GB, free: 8.312 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.0004931/0.01029, allocations: 0.6968 MB / 0.6237 GB, free: 7.586 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.00012/0.01041, allocations: 27.92 kB / 0.6238 GB, free: 7.559 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.01041, allocations: 4.094 kB / 0.6238 GB, free: 7.555 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.064e-05/0.01044, allocations: 11.98 kB / 0.6238 GB, free: 7.543 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002413/0.01068, allocations: 4 kB / 0.6238 GB, free: 7.539 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001639/0.01232, allocations: 1.312 MB / 0.6251 GB, free: 6.145 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.937e-05/0.01239, allocations: 67.28 kB / 0.6251 GB, free: 6.059 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.185e-05/0.01243, allocations: 12.05 kB / 0.6251 GB, free: 6.047 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.228e-05/0.01248, allocations: 12.5 kB / 0.6251 GB, free: 6.035 MB / 0.5886 GB Notification: Performance of SimCode: time 1.603e-06/0.01248, allocations: 0 / 0.6251 GB, free: 6.035 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01643/0.02892, allocations: 2.295 MB / 0.6274 GB, free: 3.883 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.937/6.966, allocations: 6.062 kB / 0.6274 GB, free: 3.883 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.Splice.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.Splice.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.Splice.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Math.Examples.Splice_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 IDEAS_IDEAS_Utilities_Math_Examples_Splice.fmu > IDEAS_IDEAS.Utilities.Math.Examples.Splice.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.860034222714603] Failed to read output from testmodel.py, exit status != 0: 7.04796789586544 7.064978259 7.054922034 Calling exit ...