Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.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.0007783/0.0007783, allocations: 80.45 kB / 19.15 MB, free: 0.7734 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.0008344/0.0008344, allocations: 162 kB / 22.43 MB, free: 2.145 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.8604/0.8604, allocations: 177.2 MB / 202.8 MB, free: 5.77 MB / 186.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.6987/0.6987, allocations: 155 MB / 414.2 MB, free: 488 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 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.Controls.OBC.CDL.Reals.Validation.Line,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Line",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Line,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Line",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.0008805/0.0008805, allocations: 72.59 kB / 0.6187 GB, free: 13.14 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4157/0.4166, allocations: 102 MB / 0.7183 GB, free: 22.94 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Line): time 0.001585/0.4182, allocations: 0.8428 MB / 0.7191 GB, free: 22.4 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0009581/0.4192, allocations: 0.9094 MB / 0.72 GB, free: 21.72 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.948e-05/0.4192, allocations: 6.188 kB / 0.72 GB, free: 21.72 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.806e-05/0.4193, allocations: 13.78 kB / 0.72 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.9e-05/0.4194, allocations: 13.7 kB / 0.7201 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.000214/0.4196, allocations: 57.58 kB / 0.7201 GB, free: 21.67 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.000192/0.4198, allocations: 143.5 kB / 0.7202 GB, free: 21.6 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001526/0.4199, allocations: 55.17 kB / 0.7203 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001025/0.42, allocations: 74.28 kB / 0.7204 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 6.437e-05/0.4201, allocations: 54.42 kB / 0.7204 GB, free: 21.51 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.727e-05/0.4201, allocations: 17.61 kB / 0.7204 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 1.842e-05/0.4201, allocations: 13.06 kB / 0.7204 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.839e-05/0.4202, allocations: 33.36 kB / 0.7205 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 3.909e-05/0.4202, allocations: 49.56 kB / 0.7205 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.000171/0.4204, allocations: 154.6 kB / 0.7207 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.4204, allocations: 4 kB / 0.7207 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.254e-06/0.4204, allocations: 0.8438 kB / 0.7207 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.033e-06/0.4204, allocations: 5.219 kB / 0.7207 GB, free: 21.38 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0004651/0.4208, allocations: 369.9 kB / 0.721 GB, free: 21.06 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.4209, allocations: 11.28 kB / 0.721 GB, free: 21.06 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.49e-05/0.4209, allocations: 46.62 kB / 0.7211 GB, free: 21.01 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.853e-05/0.421, allocations: 16.16 kB / 0.7211 GB, free: 21 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002176/0.4212, allocations: 157.6 kB / 0.7213 GB, free: 20.86 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.4212, allocations: 17.25 kB / 0.7213 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.697e-05/0.4212, allocations: 13.59 kB / 0.7213 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002714/0.4215, allocations: 223.5 kB / 0.7215 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.4215, allocations: 7.875 kB / 0.7215 GB, free: 20.67 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.567e-05/0.4215, allocations: 7.031 kB / 0.7215 GB, free: 20.66 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.4215, allocations: 3.719 kB / 0.7215 GB, free: 20.66 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001835/0.4217, allocations: 123.3 kB / 0.7216 GB, free: 20.63 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005166/0.4222, allocations: 441.7 kB / 0.7221 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001386/0.4223, allocations: 81.7 kB / 0.7221 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.405e-05/0.4224, allocations: 44.7 kB / 0.7222 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.443e-05/0.4224, allocations: 5.609 kB / 0.7222 GB, free: 20.22 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.84e-05/0.4225, allocations: 33.78 kB / 0.7222 GB, free: 20.18 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 2.295e-06/0.4225, allocations: 0 / 0.7222 GB, free: 20.18 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0003183/0.4228, allocations: 161.5 kB / 0.7224 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.23e-05/0.4228, allocations: 53.66 kB / 0.7224 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001318/0.4229, allocations: 195.9 kB / 0.7226 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.084e-05/0.4229, allocations: 29.7 kB / 0.7226 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.615e-05/0.423, allocations: 117.3 kB / 0.7227 GB, free: 19.77 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.735e-05/0.423, allocations: 33.84 kB / 0.7228 GB, free: 19.74 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.834e-05/0.4231, allocations: 29.02 kB / 0.7228 GB, free: 19.71 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.387e-05/0.4231, allocations: 323.2 kB / 0.7231 GB, free: 19.4 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.037e-05/0.4232, allocations: 45.03 kB / 0.7232 GB, free: 19.38 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.874e-05/0.4232, allocations: 41.23 kB / 0.7232 GB, free: 19.37 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001478/0.4234, allocations: 94.83 kB / 0.7233 GB, free: 19.33 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.4234, allocations: 4.656 kB / 0.7233 GB, free: 19.33 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001947/0.4236, allocations: 144.5 kB / 0.7234 GB, free: 19.26 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.4236, allocations: 5.656 kB / 0.7234 GB, free: 19.26 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.4236, allocations: 0 / 0.7234 GB, free: 19.26 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.4236, allocations: 6.484 kB / 0.7234 GB, free: 19.25 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001081/0.4237, allocations: 24.08 kB / 0.7235 GB, free: 19.25 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.762e-06/0.4237, allocations: 1.188 kB / 0.7235 GB, free: 19.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.099e-05/0.4238, allocations: 20.58 kB / 0.7235 GB, free: 19.24 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.4238, allocations: 6.797 kB / 0.7235 GB, free: 19.24 MB / 0.6355 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 (13): * Single equations (assignments): 13 * 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.321e-05/0.4238, allocations: 125.9 kB / 0.7236 GB, free: 19.11 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.128e-05/0.4239, allocations: 14.84 kB / 0.7236 GB, free: 19.11 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002153/0.4241, allocations: 144.9 kB / 0.7238 GB, free: 19.02 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.4241, allocations: 2.062 kB / 0.7238 GB, free: 19.02 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.4241, allocations: 1.25 kB / 0.7238 GB, free: 19.02 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.4241, allocations: 0 / 0.7238 GB, free: 19.02 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003508/0.4244, allocations: 411.3 kB / 0.7242 GB, free: 18.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.4244, allocations: 4.875 kB / 0.7242 GB, free: 18.67 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.231e-05/0.4245, allocations: 25.34 kB / 0.7242 GB, free: 18.67 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.4245, allocations: 5.281 kB / 0.7242 GB, free: 18.66 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.4245, allocations: 7.062 kB / 0.7242 GB, free: 18.66 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.4245, allocations: 1.188 kB / 0.7242 GB, free: 18.66 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.4245, allocations: 1.719 kB / 0.7242 GB, free: 18.66 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001836/0.4247, allocations: 247.9 kB / 0.7244 GB, free: 18.46 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.846e-05/0.4247, allocations: 14.66 kB / 0.7245 GB, free: 18.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.591e-05/0.4247, allocations: 10.3 kB / 0.7245 GB, free: 18.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.537e-05/0.4248, allocations: 13.98 kB / 0.7245 GB, free: 18.45 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.235e-05/0.4249, allocations: 19.7 kB / 0.7245 GB, free: 18.44 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-06/0.4249, allocations: 4.312 kB / 0.7245 GB, free: 18.44 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.397e-05/0.4249, allocations: 145.8 kB / 0.7246 GB, free: 18.34 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.1e-08/0.4249, allocations: 1.625 kB / 0.7246 GB, free: 18.34 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001682/0.4251, allocations: 26.28 kB / 0.7247 GB, free: 18.33 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (10): * Single equations (assignments): 10 * 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.0003097/0.4254, allocations: 0.7685 MB / 0.7254 GB, free: 17.62 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001971/0.4256, allocations: 95.75 kB / 0.7255 GB, free: 17.59 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.4256, allocations: 1.188 kB / 0.7255 GB, free: 17.59 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.215e-05/0.4257, allocations: 45.28 kB / 0.7256 GB, free: 17.58 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002501/0.4259, allocations: 21.2 kB / 0.7256 GB, free: 17.57 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001391/0.4273, allocations: 1.892 MB / 0.7274 GB, free: 16.11 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.554e-05/0.4274, allocations: 94.02 kB / 0.7275 GB, free: 16.04 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.805e-05/0.4274, allocations: 17.56 kB / 0.7275 GB, free: 16.03 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.473e-05/0.4275, allocations: 44.42 kB / 0.7276 GB, free: 16 MB / 0.6355 GB Notification: Performance of SimCode: time 1.072e-06/0.4275, allocations: 0 / 0.7276 GB, free: 16 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02116/0.4487, allocations: 3.526 MB / 0.731 GB, free: 14.99 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.55/6.999, allocations: 13.94 kB / 0.731 GB, free: 14.98 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Line_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Line.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.583614230155945] Failed to read output from testmodel.py, exit status != 0: 7.076243148883805 7.087302148 6.663278847 Calling exit ...