Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Interpolate.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.001352/0.001352, 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.001122/0.001122, 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.014/1.014, allocations: 230.6 MB / 256 MB, free: 9.793 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.8276/0.8276, allocations: 203.8 MB / 0.5042 GB, free: 10.7 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.Functions.Examples.Interpolate,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_Interpolate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.Interpolate,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_Interpolate",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.0009911/0.0009911, allocations: 74.67 kB / 0.7183 GB, free: 4.277 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5694/0.5704, allocations: 102 MB / 0.8179 GB, free: 1.242 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Interpolate): time 0.001881/0.5723, allocations: 1.531 MB / 0.8194 GB, free: 180 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009974/0.5733, allocations: 0.7838 MB / 0.8202 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.202e-05/0.5733, allocations: 3.938 kB / 0.8202 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002369/0.5736, allocations: 143.4 kB / 0.8203 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.757e-05/0.5737, allocations: 71.88 kB / 0.8204 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005998/0.5743, allocations: 185 kB / 0.8205 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001214/0.5744, allocations: 61.98 kB / 0.8206 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.311e-05/0.5744, allocations: 3.328 kB / 0.8206 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.946e-05/0.5745, allocations: 42.14 kB / 0.8206 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001284/0.5746, allocations: 90.38 kB / 0.8207 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.269e-05/0.5746, allocations: 2.344 kB / 0.8207 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003954/0.575, allocations: 261.1 kB / 0.821 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.823e-05/0.5751, allocations: 62.47 kB / 0.821 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.368e-05/0.5752, allocations: 54.42 kB / 0.8211 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003413/0.5755, allocations: 273.8 kB / 0.8214 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/0.5755, allocations: 5.078 kB / 0.8214 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.603e-06/0.5755, allocations: 0 / 0.8214 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.113e-06/0.5755, allocations: 0 / 0.8214 GB, free: 15.3 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005929/0.5761, allocations: 440.8 kB / 0.8218 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.5762, allocations: 10.62 kB / 0.8218 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.082e-05/0.5762, allocations: 40.12 kB / 0.8218 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.549e-05/0.5762, allocations: 20.98 kB / 0.8219 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001959/0.5764, allocations: 207.2 kB / 0.8221 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.5764, allocations: 384 / 0.8221 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.187e-05/0.5765, allocations: 7.953 kB / 0.8221 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001587/0.5766, allocations: 84.12 kB / 0.8221 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.5766, allocations: 5.203 kB / 0.8221 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.595e-06/0.5766, allocations: 0 / 0.8221 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.5766, allocations: 0 / 0.8221 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001231/0.5768, allocations: 85.48 kB / 0.8222 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004745/0.5772, allocations: 373.6 kB / 0.8226 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001657/0.5774, allocations: 89 kB / 0.8227 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.959e-05/0.5775, allocations: 49.03 kB / 0.8227 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 6.148e-05/0.5776, allocations: 16.47 kB / 0.8227 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.5776, allocations: 36.36 kB / 0.8228 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 2.204e-06/0.5776, allocations: 0 / 0.8228 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0004155/0.578, allocations: 183.1 kB / 0.8229 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.269e-05/0.578, allocations: 51.41 kB / 0.823 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003789/0.5784, allocations: 354.8 kB / 0.8233 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.383e-05/0.5784, allocations: 25.7 kB / 0.8233 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/0.5785, allocations: 151 kB / 0.8235 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.416e-05/0.5786, allocations: 2.109 kB / 0.8235 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.671e-05/0.5786, allocations: 26.23 kB / 0.8235 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001241/0.5787, allocations: 338.5 kB / 0.8238 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000155/0.5789, allocations: 97.2 kB / 0.8239 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001202/0.579, allocations: 95.34 kB / 0.824 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002611/0.5793, allocations: 211.8 kB / 0.8242 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.5793, allocations: 0 / 0.8242 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003504/0.5796, allocations: 263.6 kB / 0.8245 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.51e-05/0.5796, allocations: 5.688 kB / 0.8245 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.5796, allocations: 0 / 0.8245 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.071e-05/0.5797, allocations: 1.281 kB / 0.8245 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.299e-05/0.5798, allocations: 9.719 kB / 0.8245 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.387e-06/0.5798, allocations: 0 / 0.8245 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.114e-05/0.5798, allocations: 19.19 kB / 0.8245 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.5798, allocations: 1.625 kB / 0.8245 GB, free: 13.34 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 (3): * Single equations (assignments): 2 * Array equations: 1 * 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 0.0001225/0.58, allocations: 143.7 kB / 0.8247 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.501e-05/0.58, allocations: 22.94 kB / 0.8247 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002055/0.5802, allocations: 144.9 kB / 0.8248 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.175e-06/0.5802, allocations: 3.938 kB / 0.8248 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.5802, allocations: 5 kB / 0.8248 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.5802, allocations: 4.453 kB / 0.8248 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001942/0.5804, allocations: 215.8 kB / 0.825 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.5804, allocations: 0 / 0.825 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.536e-05/0.5804, allocations: 9.906 kB / 0.825 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.5804, allocations: 4 kB / 0.825 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.244e-06/0.5804, allocations: 0.5625 kB / 0.825 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.5804, allocations: 0 / 0.825 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.5804, allocations: 2.094 kB / 0.825 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002058/0.5806, allocations: 233.7 kB / 0.8253 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.457e-05/0.5807, allocations: 30 kB / 0.8253 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.415e-05/0.5807, allocations: 0 / 0.8253 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.576e-05/0.5807, allocations: 6.547 kB / 0.8253 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.589e-05/0.5808, allocations: 2.938 kB / 0.8253 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.5808, allocations: 1.125 kB / 0.8253 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001948/0.581, allocations: 254.7 kB / 0.8256 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.581, allocations: 4.438 kB / 0.8256 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003241/0.5813, allocations: 66.97 kB / 0.8256 GB, free: 12.68 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.0005917/0.5819, allocations: 0.816 MB / 0.8264 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002354/0.5821, allocations: 143 kB / 0.8266 GB, free: 11.97 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.5821, allocations: 0 / 0.8266 GB, free: 11.97 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.439e-05/0.5822, allocations: 46 kB / 0.8266 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000286/0.5825, allocations: 24.78 kB / 0.8266 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002592/0.5851, allocations: 2.728 MB / 0.8293 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005448/0.5856, allocations: 0.7364 MB / 0.83 GB, free: 9.719 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.061e-05/0.5857, allocations: 19.61 kB / 0.83 GB, free: 9.715 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.781e-05/0.5857, allocations: 58.14 kB / 0.8301 GB, free: 9.672 MB / 0.6198 GB Notification: Performance of SimCode: time 6.71e-07/0.5857, allocations: 0 / 0.8301 GB, free: 9.672 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02172/0.6075, allocations: 4.392 MB / 0.8344 GB, free: 9.117 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.737/7.344, allocations: 7.438 kB / 0.8344 GB, free: 9.113 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Interpolate.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Interpolate.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Interpolate.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Interpolate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_Interpolate_fmu --startTime=0 --stopTime=500 --stepSize=0.2 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_Interpolate.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Interpolate.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.433225796092302] Failed to read output from testmodel.py, exit status != 0: 7.425479544093832 7.443065453 6.86436362 Calling exit ...