Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0008231/0.0008231, 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.0009917/0.0009917, 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.9026/0.9026, allocations: 177.1 MB / 202.8 MB, free: 5.73 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.7292/0.7292, allocations: 154.6 MB / 413.8 MB, free: 0.7852 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.Functions.Examples.SpliceFunction,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_SpliceFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_SpliceFunction",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 0.6182 GB, free: 13.61 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.223e-05/1.365e-05, allocations: 3 kB / 0.6182 GB, free: 13.61 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001018/0.001032, allocations: 0.5963 MB / 0.6187 GB, free: 13.02 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001144/0.002176, allocations: 1.276 MB / 0.62 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.468e-05/0.002191, allocations: 0 / 0.62 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.367e-05/0.002205, allocations: 0 / 0.62 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.593e-06/0.002211, allocations: 3.938 kB / 0.62 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003242/0.002535, allocations: 79.59 kB / 0.6201 GB, free: 11.65 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 4e-05/0.002575, allocations: 4 kB / 0.6201 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.077e-05/0.002616, allocations: 0 / 0.6201 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 2.295e-05/0.002639, allocations: 0 / 0.6201 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.707e-05/0.002676, allocations: 8 kB / 0.6201 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.093e-05/0.002687, allocations: 4 kB / 0.6201 GB, free: 11.63 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002244/0.002911, allocations: 107.8 kB / 0.6202 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 8.786e-06/0.00292, allocations: 0 / 0.6202 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.247e-05/0.002933, allocations: 0 / 0.6202 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001208/0.003053, allocations: 79.78 kB / 0.6203 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.643e-06/0.003055, allocations: 0 / 0.6203 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.02e-07/0.003056, allocations: 0 / 0.6203 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.467e-06/0.003059, allocations: 0 / 0.6203 GB, free: 11.45 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.000219/0.003278, allocations: 254.3 kB / 0.6205 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.003314, allocations: 8.031 kB / 0.6205 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.499e-05/0.003339, allocations: 38.75 kB / 0.6205 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.036e-05/0.003359, allocations: 4.938 kB / 0.6205 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.197e-05/0.003411, allocations: 101.8 kB / 0.6206 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.003421, allocations: 4.359 kB / 0.6206 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.102e-06/0.003427, allocations: 384 / 0.6206 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.509e-05/0.003503, allocations: 34.2 kB / 0.6207 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.831e-06/0.003508, allocations: 192 / 0.6207 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.056e-06/0.003516, allocations: 4.125 kB / 0.6207 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.00352, allocations: 0 / 0.6207 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.062e-05/0.003541, allocations: 0 / 0.6207 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.673e-05/0.003638, allocations: 120.8 kB / 0.6208 GB, free: 10.78 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 3.31e-05/0.003671, allocations: 18.58 kB / 0.6208 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.348e-05/0.003684, allocations: 8.953 kB / 0.6208 GB, free: 10.74 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002314/0.003916, allocations: 43.95 kB / 0.6209 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.183e-05/0.003938, allocations: 38.44 kB / 0.6209 GB, free: 10.65 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 8.21e-07/0.003938, allocations: 0 / 0.6209 GB, free: 10.65 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.0001118/0.00405, allocations: 37.64 kB / 0.6209 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.013e-05/0.00408, allocations: 59.53 kB / 0.621 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.495e-05/0.004105, allocations: 89.86 kB / 0.6211 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.807e-06/0.004114, allocations: 25.7 kB / 0.6211 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 1.707e-05/0.004131, allocations: 80.14 kB / 0.6212 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.182e-05/0.004153, allocations: 3.984 kB / 0.6212 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.17e-05/0.004175, allocations: 13.72 kB / 0.6212 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.186e-05/0.004247, allocations: 310.8 kB / 0.6215 GB, free: 9.992 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.625e-06/0.004254, allocations: 0 / 0.6215 GB, free: 9.992 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.358e-06/0.004258, allocations: 7.938 kB / 0.6215 GB, free: 9.984 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.196e-05/0.00428, allocations: 16.8 kB / 0.6215 GB, free: 9.965 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.004282, allocations: 4.062 kB / 0.6215 GB, free: 9.961 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.087e-05/0.004313, allocations: 29.7 kB / 0.6216 GB, free: 9.926 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.004325, allocations: 4 kB / 0.6216 GB, free: 9.922 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.00433, allocations: 3.984 kB / 0.6216 GB, free: 9.918 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.004344, allocations: 7.938 kB / 0.6216 GB, free: 9.91 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.987e-05/0.004384, allocations: 0 / 0.6216 GB, free: 9.91 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.004388, allocations: 0 / 0.6216 GB, free: 9.91 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.442e-06/0.004394, allocations: 0 / 0.6216 GB, free: 9.91 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.488e-06/0.004399, allocations: 0 / 0.6216 GB, free: 9.91 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.008e-05/0.004449, allocations: 114.8 kB / 0.6217 GB, free: 9.789 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.096e-06/0.004452, allocations: 4.031 kB / 0.6217 GB, free: 9.785 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.937e-05/0.004531, allocations: 48.58 kB / 0.6217 GB, free: 9.73 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.004535, allocations: 7.938 kB / 0.6217 GB, free: 9.723 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.004539, allocations: 0 / 0.6217 GB, free: 9.723 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.004541, allocations: 0 / 0.6217 GB, free: 9.723 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.479e-05/0.004596, allocations: 116.7 kB / 0.6218 GB, free: 9.566 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.004597, allocations: 0 / 0.6218 GB, free: 9.566 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.688e-06/0.004607, allocations: 8 kB / 0.6219 GB, free: 9.559 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.004609, allocations: 4.031 kB / 0.6219 GB, free: 9.555 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.92e-06/0.004614, allocations: 0 / 0.6219 GB, free: 9.555 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.004616, allocations: 7.922 kB / 0.6219 GB, free: 9.547 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.004617, allocations: 0 / 0.6219 GB, free: 9.547 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.097e-05/0.004658, allocations: 61.08 kB / 0.6219 GB, free: 9.469 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.883e-06/0.004665, allocations: 3.984 kB / 0.6219 GB, free: 9.465 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.404e-06/0.004672, allocations: 0 / 0.6219 GB, free: 9.465 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.853e-06/0.004679, allocations: 7.938 kB / 0.6219 GB, free: 9.457 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.093e-05/0.00469, allocations: 3.984 kB / 0.6219 GB, free: 9.453 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.823e-06/0.004692, allocations: 0 / 0.6219 GB, free: 9.453 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 1.984e-05/0.004712, allocations: 79.31 kB / 0.622 GB, free: 9.375 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7e-08/0.004712, allocations: 7.969 kB / 0.622 GB, free: 9.367 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001325/0.004844, allocations: 8 kB / 0.622 GB, free: 9.359 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.0002535/0.005098, allocations: 0.6085 MB / 0.6226 GB, free: 8.723 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 5.348e-05/0.005151, allocations: 7.938 kB / 0.6226 GB, free: 8.715 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.005153, allocations: 0 / 0.6226 GB, free: 8.715 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.509e-06/0.005158, allocations: 3.984 kB / 0.6226 GB, free: 8.711 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.25e-05/0.00525, allocations: 9.812 kB / 0.6226 GB, free: 8.703 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000221/0.005471, allocations: 110.7 kB / 0.6228 GB, free: 8.555 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.054e-05/0.005502, allocations: 59.34 kB / 0.6228 GB, free: 8.477 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 1.31e-05/0.005515, allocations: 0 / 0.6228 GB, free: 8.477 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.342e-05/0.005528, allocations: 8.5 kB / 0.6228 GB, free: 8.469 MB / 0.5886 GB Notification: Performance of SimCode: time 3.81e-07/0.005529, allocations: 0 / 0.6228 GB, free: 8.469 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01465/0.02018, allocations: 1.762 MB / 0.6245 GB, free: 6.832 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.75/6.77, allocations: 5.938 kB / 0.6245 GB, free: 6.832 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_SpliceFunction_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_SpliceFunction.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.471457041800022] Failed to read output from testmodel.py, exit status != 0: 6.847435907460749 6.855920998 6.851158866 Calling exit ...