Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.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.0007727/0.0007727, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008589/0.0008589, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8896/0.8896, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.6961/0.6961, allocations: 154.6 MB / 413.7 MB, free: 0.7969 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.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 0.6181 GB, free: 13.65 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.053e-05/3.264e-05, allocations: 5.094 kB / 0.6181 GB, free: 13.65 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.00226/0.002293, allocations: 1.454 MB / 0.6195 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001045/0.003337, allocations: 0.7791 MB / 0.6203 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.873e-05/0.003366, allocations: 4 kB / 0.6203 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 5.526e-05/0.003421, allocations: 3.938 kB / 0.6203 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.11e-05/0.003462, allocations: 0 / 0.6203 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005221/0.003984, allocations: 183.5 kB / 0.6205 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 9.782e-05/0.004082, allocations: 43.84 kB / 0.6205 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.378e-05/0.004166, allocations: 8 kB / 0.6205 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 4.901e-05/0.004215, allocations: 31.89 kB / 0.6206 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.142e-05/0.004266, allocations: 15.98 kB / 0.6206 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.473e-05/0.004281, allocations: 4 kB / 0.6206 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002572/0.004538, allocations: 207.7 kB / 0.6208 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 4.562e-05/0.004584, allocations: 15.92 kB / 0.6208 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.987e-05/0.004614, allocations: 12 kB / 0.6208 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002338/0.004848, allocations: 239.4 kB / 0.621 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.904e-06/0.00485, allocations: 0 / 0.621 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of FrontEnd: time 8.61e-07/0.00485, allocations: 4 kB / 0.621 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.004855, allocations: 0 / 0.621 GB, free: 10.64 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004031/0.005258, allocations: 351.4 kB / 0.6214 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.005299, allocations: 12.03 kB / 0.6214 GB, free: 10.24 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.697e-05/0.005326, allocations: 30.75 kB / 0.6214 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.929e-05/0.005355, allocations: 8.891 kB / 0.6214 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.28e-05/0.005438, allocations: 117.7 kB / 0.6215 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.005451, allocations: 4.359 kB / 0.6215 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.889e-06/0.005461, allocations: 8.375 kB / 0.6216 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001608/0.005621, allocations: 99.94 kB / 0.6216 GB, free: 9.934 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.005629, allocations: 192 / 0.6216 GB, free: 9.934 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.829e-06/0.005639, allocations: 12.06 kB / 0.6217 GB, free: 9.922 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.005646, allocations: 11.91 kB / 0.6217 GB, free: 9.91 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001147/0.005761, allocations: 73.67 kB / 0.6217 GB, free: 9.832 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000295/0.006056, allocations: 232 kB / 0.622 GB, free: 9.562 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 9.66e-05/0.006152, allocations: 92.3 kB / 0.622 GB, free: 9.457 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.085e-05/0.006213, allocations: 78.5 kB / 0.6221 GB, free: 9.371 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.523e-05/0.006228, allocations: 3.984 kB / 0.6221 GB, free: 9.367 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.23e-05/0.006251, allocations: 34.5 kB / 0.6222 GB, free: 9.324 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.006252, allocations: 0 / 0.6222 GB, free: 9.324 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0002732/0.006525, allocations: 242.7 kB / 0.6224 GB, free: 9.062 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.787e-05/0.006563, allocations: 89.05 kB / 0.6225 GB, free: 8.957 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.603e-05/0.006639, allocations: 121.8 kB / 0.6226 GB, free: 8.828 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.578e-06/0.006648, allocations: 29.73 kB / 0.6226 GB, free: 8.793 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.636e-05/0.006685, allocations: 88.14 kB / 0.6227 GB, free: 8.703 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.337e-05/0.006698, allocations: 7.891 kB / 0.6227 GB, free: 8.695 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.154e-05/0.00673, allocations: 25.7 kB / 0.6227 GB, free: 8.664 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.063e-05/0.00681, allocations: 314.8 kB / 0.623 GB, free: 8.348 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.991e-05/0.00689, allocations: 119.4 kB / 0.6232 GB, free: 8.219 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.308e-05/0.006963, allocations: 115.4 kB / 0.6233 GB, free: 8.094 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001445/0.007108, allocations: 197.8 kB / 0.6235 GB, free: 7.879 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.00711, allocations: 0 / 0.6235 GB, free: 7.879 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002051/0.007315, allocations: 292.3 kB / 0.6237 GB, free: 7.562 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 4.117e-05/0.007356, allocations: 63.41 kB / 0.6238 GB, free: 7.488 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.007361, allocations: 0 / 0.6238 GB, free: 7.488 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.007375, allocations: 64 / 0.6238 GB, free: 7.488 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.925e-05/0.007434, allocations: 11.98 kB / 0.6238 GB, free: 7.477 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.007441, allocations: 0 / 0.6238 GB, free: 7.477 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.595e-05/0.007467, allocations: 4 kB / 0.6238 GB, free: 7.473 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.124e-05/0.007478, allocations: 4 kB / 0.6238 GB, free: 7.469 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: 1 (cubSpl.i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 2 * 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 8.075e-05/0.007559, allocations: 148.5 kB / 0.624 GB, free: 7.309 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.593e-05/0.007575, allocations: 7.891 kB / 0.624 GB, free: 7.301 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.176e-05/0.007597, allocations: 12 kB / 0.624 GB, free: 7.285 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.007599, allocations: 7.875 kB / 0.624 GB, free: 7.277 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.007603, allocations: 0 / 0.624 GB, free: 7.277 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.007607, allocations: 0 / 0.624 GB, free: 7.277 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001122/0.007719, allocations: 140.7 kB / 0.6241 GB, free: 7.098 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.007721, allocations: 3.938 kB / 0.6241 GB, free: 7.094 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.463e-05/0.007736, allocations: 4 kB / 0.6241 GB, free: 7.09 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.007739, allocations: 3.984 kB / 0.6241 GB, free: 7.086 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-06/0.007748, allocations: 0 / 0.6241 GB, free: 7.086 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.007749, allocations: 0 / 0.6241 GB, free: 7.086 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.007751, allocations: 4 kB / 0.6241 GB, free: 7.082 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001839/0.007934, allocations: 274.9 kB / 0.6244 GB, free: 6.785 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 9.768e-06/0.007944, allocations: 7.938 kB / 0.6244 GB, free: 6.777 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.239e-05/0.007957, allocations: 0 / 0.6244 GB, free: 6.777 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.853e-05/0.007995, allocations: 7.984 kB / 0.6244 GB, free: 6.77 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.926e-05/0.008084, allocations: 4 kB / 0.6244 GB, free: 6.766 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-06/0.00809, allocations: 4 kB / 0.6244 GB, free: 6.762 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.302e-05/0.008133, allocations: 102.6 kB / 0.6245 GB, free: 6.664 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.1e-08/0.008133, allocations: 0 / 0.6245 GB, free: 6.664 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002305/0.008364, allocations: 59.81 kB / 0.6246 GB, free: 6.605 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: 1 (cubSpl.i) * Number of discrete states: 1 (cubSpl.i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 1 * 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.0005984/0.008962, allocations: 0.8682 MB / 0.6254 GB, free: 5.695 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002396/0.009202, allocations: 335.7 kB / 0.6257 GB, free: 5.324 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.009205, allocations: 4 kB / 0.6257 GB, free: 5.32 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 7.025e-05/0.009275, allocations: 125 kB / 0.6259 GB, free: 5.18 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001415/0.009416, allocations: 8 kB / 0.6259 GB, free: 5.172 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001241/0.01066, allocations: 2.039 MB / 0.6279 GB, free: 2.984 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.755e-05/0.0107, allocations: 75.33 kB / 0.6279 GB, free: 2.891 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 1.389e-05/0.01072, allocations: 0 / 0.6279 GB, free: 2.891 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.882e-05/0.01075, allocations: 16.5 kB / 0.6279 GB, free: 2.875 MB / 0.5886 GB Notification: Performance of SimCode: time 5.01e-07/0.01075, allocations: 0 / 0.6279 GB, free: 2.875 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01586/0.02661, allocations: 3.451 MB / 0.6313 GB, free: 15.62 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.63/6.657, allocations: 9.016 kB / 0.6313 GB, free: 15.61 MB / 0.6042 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.fmu > IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.283650697208941] Failed to read output from testmodel.py, exit status != 0: 6.7343291612342 6.742071494 6.735530748 Calling exit ...