Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0006887/0.0006887, allocations: 80.44 kB / 19.17 MB, free: 0.7344 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.0007916/0.0007916, allocations: 165.9 kB / 22.45 MB, free: 2.098 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.9272/0.9272, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.7151/0.7151, allocations: 154.6 MB / 413.8 MB, free: 0.8086 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.Controls.OBC.CDL.Reals.Validation.Line,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Line",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Line,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Line",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.825e-06/2.825e-06, allocations: 0 / 0.6182 GB, free: 13.61 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.277e-05/2.56e-05, allocations: 4.672 kB / 0.6182 GB, free: 13.61 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Line): time 0.001634/0.001659, allocations: 0.8331 MB / 0.619 GB, free: 12.77 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001012/0.002671, allocations: 0.9172 MB / 0.6199 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.348e-05/0.002755, allocations: 0 / 0.6199 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 4.208e-05/0.002797, allocations: 19.8 kB / 0.6199 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.112e-05/0.002868, allocations: 15.81 kB / 0.6199 GB, free: 11.81 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002133/0.003081, allocations: 59.91 kB / 0.62 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001908/0.003272, allocations: 139.7 kB / 0.6201 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001628/0.003435, allocations: 49.62 kB / 0.6202 GB, free: 11.56 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 9.428e-05/0.003529, allocations: 75.86 kB / 0.6202 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.235e-05/0.003591, allocations: 47.8 kB / 0.6203 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3.195e-05/0.003623, allocations: 12 kB / 0.6203 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.498e-05/0.003638, allocations: 12 kB / 0.6203 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.434e-05/0.003663, allocations: 27.92 kB / 0.6203 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.805e-05/0.003701, allocations: 47.83 kB / 0.6204 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001547/0.003855, allocations: 151.4 kB / 0.6205 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.003859, allocations: 0 / 0.6205 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.523e-06/0.003861, allocations: 0 / 0.6205 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.003865, allocations: 0 / 0.6205 GB, free: 11.19 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0004878/0.004353, allocations: 365.8 kB / 0.6209 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.004397, allocations: 12.03 kB / 0.6209 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.338e-05/0.00444, allocations: 54.73 kB / 0.6209 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.548e-05/0.004476, allocations: 20.84 kB / 0.6209 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000237/0.004713, allocations: 153.5 kB / 0.6211 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.004725, allocations: 8.375 kB / 0.6211 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.566e-05/0.00474, allocations: 12.38 kB / 0.6211 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002797/0.00502, allocations: 223.3 kB / 0.6213 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.884e-06/0.005028, allocations: 192 / 0.6213 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.521e-05/0.005043, allocations: 4.375 kB / 0.6213 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.265e-06/0.005052, allocations: 8.125 kB / 0.6213 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001896/0.005241, allocations: 135.8 kB / 0.6215 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005724/0.005814, allocations: 435.4 kB / 0.6219 GB, free: 9.656 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001422/0.005956, allocations: 74.53 kB / 0.6219 GB, free: 9.574 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.238e-05/0.006028, allocations: 40.84 kB / 0.622 GB, free: 9.531 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.472e-05/0.006053, allocations: 8 kB / 0.622 GB, free: 9.523 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.092e-05/0.006084, allocations: 42.61 kB / 0.622 GB, free: 9.473 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=10): time 1.222e-06/0.006085, allocations: 0 / 0.622 GB, free: 9.473 MB / 0.5886 GB Notification: Performance of matching and sorting (n=10): time 0.0003212/0.006406, allocations: 161.5 kB / 0.6222 GB, free: 9.309 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.741e-05/0.006434, allocations: 55.41 kB / 0.6222 GB, free: 9.242 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001436/0.006577, allocations: 188.2 kB / 0.6224 GB, free: 9.043 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.457e-05/0.006592, allocations: 25.7 kB / 0.6224 GB, free: 9.012 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.929e-05/0.006661, allocations: 120 kB / 0.6226 GB, free: 8.891 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.218e-05/0.006683, allocations: 31.73 kB / 0.6226 GB, free: 8.859 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.581e-05/0.006729, allocations: 37.66 kB / 0.6226 GB, free: 8.816 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.006837, allocations: 327.2 kB / 0.6229 GB, free: 8.488 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.377e-05/0.006921, allocations: 39.97 kB / 0.623 GB, free: 8.449 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.045e-05/0.006991, allocations: 43.97 kB / 0.623 GB, free: 8.406 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001476/0.007139, allocations: 88.83 kB / 0.6231 GB, free: 8.316 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.007141, allocations: 3.938 kB / 0.6231 GB, free: 8.312 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001906/0.007331, allocations: 152.2 kB / 0.6233 GB, free: 8.16 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.007346, allocations: 4 kB / 0.6233 GB, free: 8.156 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.007351, allocations: 0 / 0.6233 GB, free: 8.156 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.007367, allocations: 4 kB / 0.6233 GB, free: 8.152 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001065/0.007474, allocations: 27.98 kB / 0.6233 GB, free: 8.125 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.00748, allocations: 0 / 0.6233 GB, free: 8.125 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.056e-05/0.00753, allocations: 19.83 kB / 0.6233 GB, free: 8.105 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.428e-06/0.00754, allocations: 7.938 kB / 0.6233 GB, free: 8.098 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 (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 7.96e-05/0.007619, allocations: 126.8 kB / 0.6234 GB, free: 7.965 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.255e-05/0.007642, allocations: 19.84 kB / 0.6235 GB, free: 7.945 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000233/0.007875, allocations: 135.1 kB / 0.6236 GB, free: 7.809 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.007878, allocations: 4 kB / 0.6236 GB, free: 7.805 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.007883, allocations: 0 / 0.6236 GB, free: 7.805 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.007886, allocations: 0 / 0.6236 GB, free: 7.805 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000403/0.008289, allocations: 416 kB / 0.624 GB, free: 7.34 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.008291, allocations: 0 / 0.624 GB, free: 7.34 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.889e-05/0.00835, allocations: 19.98 kB / 0.624 GB, free: 7.32 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.008354, allocations: 3.984 kB / 0.624 GB, free: 7.316 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.809e-06/0.008364, allocations: 4 kB / 0.624 GB, free: 7.312 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.008368, allocations: 7.938 kB / 0.624 GB, free: 7.305 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.00837, allocations: 4 kB / 0.624 GB, free: 7.301 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000205/0.008575, allocations: 241.9 kB / 0.6243 GB, free: 7.039 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.845e-05/0.008594, allocations: 15.91 kB / 0.6243 GB, free: 7.023 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.525e-05/0.008609, allocations: 12 kB / 0.6243 GB, free: 7.012 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.081e-05/0.00868, allocations: 11.98 kB / 0.6243 GB, free: 7 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.78e-05/0.008718, allocations: 7.984 kB / 0.6243 GB, free: 6.992 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.448e-06/0.008727, allocations: 8 kB / 0.6243 GB, free: 6.984 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 8.748e-05/0.008815, allocations: 153.9 kB / 0.6245 GB, free: 6.836 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.008815, allocations: 0 / 0.6245 GB, free: 6.836 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001838/0.008998, allocations: 28.14 kB / 0.6245 GB, free: 6.809 MB / 0.5886 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.0004257/0.009424, allocations: 0.77 MB / 0.6252 GB, free: 6 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002047/0.009629, allocations: 95.88 kB / 0.6253 GB, free: 5.906 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.009631, allocations: 4 kB / 0.6253 GB, free: 5.902 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 7.192e-05/0.009703, allocations: 43.91 kB / 0.6254 GB, free: 5.859 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002702/0.009973, allocations: 22 kB / 0.6254 GB, free: 5.84 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001651/0.01162, allocations: 1.893 MB / 0.6272 GB, free: 3.852 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.879e-05/0.01169, allocations: 94.78 kB / 0.6273 GB, free: 3.734 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.471e-05/0.01174, allocations: 13.14 kB / 0.6273 GB, free: 3.723 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.729e-05/0.0118, allocations: 44.48 kB / 0.6274 GB, free: 3.68 MB / 0.5886 GB Notification: Performance of SimCode: time 8.22e-07/0.01181, allocations: 0 / 0.6274 GB, free: 3.68 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01917/0.03098, allocations: 3.537 MB / 0.6308 GB, free: 316 kB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.532/6.563, allocations: 4.062 kB / 0.6308 GB, free: 312 kB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Line_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Line.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.273196433670819] Failed to read output from testmodel.py, exit status != 0: 6.645222169347107 6.6542439810000005 6.648553163 Calling exit ...