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.000975/0.000975, 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.001661/0.001661, 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.9067/0.9067, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.7191/0.7191, allocations: 154.6 MB / 413.8 MB, free: 0.793 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.515e-06/2.515e-06, allocations: 0 / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.5e-05/2.751e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Splice): time 0.003402/0.003429, allocations: 1.506 MB / 0.6196 GB, free: 12.13 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001499/0.004928, allocations: 0.701 MB / 0.6203 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.643e-05/0.005015, allocations: 0 / 0.6203 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.9e-05/0.005054, allocations: 3.938 kB / 0.6203 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.811e-05/0.005112, allocations: 7.875 kB / 0.6203 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005857/0.005697, allocations: 103.5 kB / 0.6204 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001427/0.00584, allocations: 39.86 kB / 0.6204 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001271/0.005967, allocations: 7.984 kB / 0.6204 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001636/0.006131, allocations: 35.91 kB / 0.6205 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.34e-05/0.006194, allocations: 11.98 kB / 0.6205 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.914e-05/0.006213, allocations: 4 kB / 0.6205 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002702/0.006483, allocations: 111.8 kB / 0.6206 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.855e-05/0.006502, allocations: 3.938 kB / 0.6206 GB, free: 11.1 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.958e-05/0.006532, allocations: 15.98 kB / 0.6206 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002698/0.006801, allocations: 111.7 kB / 0.6207 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.006805, allocations: 0 / 0.6207 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.934e-06/0.006807, allocations: 0 / 0.6207 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.006813, 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.0004982/0.007311, allocations: 298 kB / 0.621 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.828e-05/0.00736, allocations: 8.031 kB / 0.621 GB, free: 10.65 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.067e-05/0.0074, allocations: 38.73 kB / 0.621 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001438/0.007544, allocations: 12.88 kB / 0.621 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002409/0.007785, allocations: 125.6 kB / 0.6212 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.605e-05/0.007801, allocations: 4.359 kB / 0.6212 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.222e-05/0.007813, allocations: 8.375 kB / 0.6212 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001755/0.007989, allocations: 54.22 kB / 0.6212 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.007999, allocations: 192 / 0.6212 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.447e-05/0.008014, allocations: 8.125 kB / 0.6212 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.008019, allocations: 8 kB / 0.6212 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.824e-05/0.008107, allocations: 23.98 kB / 0.6213 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003961/0.008504, allocations: 243.8 kB / 0.6215 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 9.804e-05/0.008602, allocations: 34.56 kB / 0.6215 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.833e-05/0.00864, allocations: 8.922 kB / 0.6215 GB, free: 9.996 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002389/0.008879, allocations: 51.95 kB / 0.6216 GB, free: 9.945 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.64e-05/0.008905, allocations: 34.5 kB / 0.6216 GB, free: 9.902 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 1.964e-06/0.008907, allocations: 0 / 0.6216 GB, free: 9.902 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0002438/0.009151, allocations: 65.64 kB / 0.6217 GB, free: 9.832 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.505e-05/0.009186, allocations: 55.39 kB / 0.6217 GB, free: 9.766 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.83e-05/0.009284, allocations: 118.1 kB / 0.6219 GB, free: 9.641 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.275e-05/0.009297, allocations: 29.7 kB / 0.6219 GB, free: 9.605 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.638e-05/0.009344, allocations: 88.14 kB / 0.622 GB, free: 9.516 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.791e-05/0.009361, allocations: 7.938 kB / 0.622 GB, free: 9.508 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.392e-05/0.009395, allocations: 17.84 kB / 0.622 GB, free: 9.484 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.0095, allocations: 326.7 kB / 0.6223 GB, free: 9.156 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.583e-05/0.009536, allocations: 7.984 kB / 0.6223 GB, free: 9.148 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.089e-05/0.009567, allocations: 12 kB / 0.6223 GB, free: 9.137 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.968e-05/0.009637, allocations: 28.78 kB / 0.6223 GB, free: 9.105 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.009639, allocations: 0 / 0.6223 GB, free: 9.105 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001147/0.009754, allocations: 57.62 kB / 0.6224 GB, free: 9.043 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.403e-05/0.009778, allocations: 8.094 kB / 0.6224 GB, free: 9.035 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.009783, allocations: 4 kB / 0.6224 GB, free: 9.031 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.009795, allocations: 0 / 0.6224 GB, free: 9.031 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.561e-05/0.009851, allocations: 4 kB / 0.6224 GB, free: 9.027 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.279e-06/0.009855, allocations: 0 / 0.6224 GB, free: 9.027 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.934e-05/0.009875, allocations: 7.938 kB / 0.6224 GB, free: 9.02 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.009881, allocations: 3.984 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 5.873e-05/0.00994, allocations: 114.8 kB / 0.6225 GB, free: 8.895 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.568e-05/0.009956, allocations: 7.938 kB / 0.6225 GB, free: 8.887 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001199/0.01008, allocations: 73.19 kB / 0.6226 GB, free: 8.809 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.01008, allocations: 0 / 0.6226 GB, free: 8.809 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.01008, allocations: 4 kB / 0.6226 GB, free: 8.805 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.01008, allocations: 0 / 0.6226 GB, free: 8.805 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001098/0.01019, allocations: 136.6 kB / 0.6227 GB, free: 8.629 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.0102, allocations: 0 / 0.6227 GB, free: 8.629 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.154e-05/0.01022, allocations: 11.98 kB / 0.6228 GB, free: 8.617 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.01022, allocations: 0 / 0.6228 GB, free: 8.617 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.642e-06/0.01023, allocations: 0 / 0.6228 GB, free: 8.617 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.01023, allocations: 0 / 0.6228 GB, free: 8.617 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.01023, allocations: 0 / 0.6228 GB, free: 8.617 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.996e-05/0.01033, allocations: 159.5 kB / 0.6229 GB, free: 8.445 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.173e-05/0.01034, allocations: 11.94 kB / 0.6229 GB, free: 8.434 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.097e-05/0.01035, allocations: 0 / 0.6229 GB, free: 8.434 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.876e-05/0.01038, allocations: 0 / 0.6229 GB, free: 8.434 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.475e-05/0.0104, allocations: 4 kB / 0.6229 GB, free: 8.43 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.564e-06/0.01041, allocations: 0 / 0.6229 GB, free: 8.43 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.002e-05/0.01045, allocations: 102 kB / 0.623 GB, free: 8.332 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7e-08/0.01045, allocations: 0 / 0.623 GB, free: 8.332 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001669/0.01061, allocations: 15.98 kB / 0.623 GB, free: 8.316 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.0003553/0.01097, allocations: 0.7007 MB / 0.6237 GB, free: 7.586 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 9.189e-05/0.01106, 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.714e-06/0.01106, allocations: 0 / 0.6238 GB, free: 7.559 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.183e-05/0.01109, allocations: 11.98 kB / 0.6238 GB, free: 7.547 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001642/0.01125, allocations: 5.875 kB / 0.6238 GB, free: 7.543 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008883/0.01214, allocations: 1.322 MB / 0.6251 GB, free: 6.141 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.201e-05/0.01218, allocations: 63.34 kB / 0.6251 GB, free: 6.059 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.087e-05/0.0122, allocations: 4 kB / 0.6251 GB, free: 6.055 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.649e-05/0.01224, allocations: 24.42 kB / 0.6251 GB, free: 6.031 MB / 0.5886 GB Notification: Performance of SimCode: time 6.41e-07/0.01224, allocations: 0 / 0.6251 GB, free: 6.031 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01742/0.02966, allocations: 2.295 MB / 0.6274 GB, free: 3.879 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.735/6.764, allocations: 6.641 kB / 0.6274 GB, free: 3.875 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_Splice_fmu --startTime=0 --stopTime=2 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 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.442736485041678] Failed to read output from testmodel.py, exit status != 0: 6.848147863522172 6.858127365 6.849346298 Calling exit ...