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.0008924/0.0008924, 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.001102/0.001102, allocations: 165.9 kB / 22.46 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.9224/0.9224, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.7522/0.7522, allocations: 154.5 MB / 413.7 MB, free: 0.8438 MB / 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: Performance of FrontEnd - loaded program: time 3.707e-06/3.707e-06, allocations: 0 / 0.6181 GB, free: 13.52 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.379e-05/2.749e-05, allocations: 4.969 kB / 0.6181 GB, free: 13.52 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Line): time 0.002371/0.002399, allocations: 0.8386 MB / 0.6189 GB, free: 12.68 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.00141/0.003809, allocations: 0.9055 MB / 0.6198 GB, free: 11.76 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000107/0.003916, allocations: 7.938 kB / 0.6198 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 5.002e-05/0.003966, allocations: 15.81 kB / 0.6198 GB, free: 11.74 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 9.181e-05/0.004058, allocations: 7.875 kB / 0.6198 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002574/0.004315, allocations: 71.88 kB / 0.6199 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0002399/0.004555, allocations: 139.7 kB / 0.62 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002076/0.004763, allocations: 49.62 kB / 0.6201 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001231/0.004886, allocations: 71.86 kB / 0.6202 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 7.385e-05/0.00496, allocations: 47.81 kB / 0.6202 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3.86e-05/0.004998, allocations: 12 kB / 0.6202 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.919e-05/0.005017, allocations: 12 kB / 0.6202 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 3.526e-05/0.005053, allocations: 31.91 kB / 0.6203 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.51e-05/0.005098, allocations: 39.89 kB / 0.6203 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001977/0.005296, allocations: 151.5 kB / 0.6204 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.005299, allocations: 0 / 0.6204 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.853e-06/0.005301, allocations: 0 / 0.6204 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.005306, allocations: 0 / 0.6204 GB, free: 11.11 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.0006296/0.005935, allocations: 357.8 kB / 0.6208 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/0.005986, allocations: 17.45 kB / 0.6208 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.713e-05/0.006043, allocations: 50.69 kB / 0.6208 GB, free: 10.65 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.625e-05/0.006089, allocations: 16.84 kB / 0.6209 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002881/0.006377, allocations: 157.6 kB / 0.621 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/0.006393, allocations: 8.375 kB / 0.621 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.085e-05/0.006414, allocations: 12.38 kB / 0.621 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003795/0.006794, allocations: 231.2 kB / 0.6213 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/0.006804, allocations: 192 / 0.6213 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.006822, allocations: 8.359 kB / 0.6213 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.256e-06/0.006831, allocations: 12.12 kB / 0.6213 GB, free: 10.17 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002778/0.007108, allocations: 127.9 kB / 0.6214 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006206/0.007729, allocations: 435.4 kB / 0.6218 GB, free: 9.574 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001357/0.007865, allocations: 78.42 kB / 0.6219 GB, free: 9.488 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.158e-05/0.007936, allocations: 48.83 kB / 0.6219 GB, free: 9.438 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.091e-05/0.007957, allocations: 4 kB / 0.6219 GB, free: 9.434 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.436e-05/0.007981, allocations: 34.5 kB / 0.622 GB, free: 9.391 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=10): time 1.322e-06/0.007983, allocations: 0 / 0.622 GB, free: 9.391 MB / 0.5886 GB Notification: Performance of matching and sorting (n=10): time 0.0003037/0.008286, allocations: 157.7 kB / 0.6221 GB, free: 9.23 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.993e-05/0.008316, allocations: 55.41 kB / 0.6222 GB, free: 9.164 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001305/0.008447, allocations: 192.2 kB / 0.6224 GB, free: 8.961 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.296e-05/0.00846, allocations: 25.7 kB / 0.6224 GB, free: 8.93 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.909e-05/0.008519, allocations: 124 kB / 0.6225 GB, free: 8.805 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.698e-05/0.008536, allocations: 31.73 kB / 0.6225 GB, free: 8.773 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.028e-05/0.008576, allocations: 33.66 kB / 0.6226 GB, free: 8.734 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.508e-05/0.008651, allocations: 326.8 kB / 0.6229 GB, free: 8.406 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.708e-05/0.008718, allocations: 31.98 kB / 0.6229 GB, free: 8.375 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.439e-05/0.008783, allocations: 47.97 kB / 0.623 GB, free: 8.328 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001367/0.008919, allocations: 100 kB / 0.623 GB, free: 8.23 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.008922, allocations: 0 / 0.623 GB, free: 8.23 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000179/0.009101, allocations: 145.5 kB / 0.6232 GB, free: 8.082 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.009114, allocations: 4 kB / 0.6232 GB, free: 8.078 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.009119, allocations: 0 / 0.6232 GB, free: 8.078 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.009132, allocations: 4 kB / 0.6232 GB, free: 8.074 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.766e-05/0.00923, allocations: 27.92 kB / 0.6232 GB, free: 8.047 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.009235, allocations: 0 / 0.6232 GB, free: 8.047 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.758e-05/0.009282, allocations: 23.83 kB / 0.6232 GB, free: 8.023 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.295e-06/0.00929, allocations: 4 kB / 0.6232 GB, free: 8.02 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 6.992e-05/0.00936, allocations: 122.8 kB / 0.6234 GB, free: 7.891 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.045e-05/0.009381, allocations: 19.84 kB / 0.6234 GB, free: 7.871 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002149/0.009596, allocations: 139.3 kB / 0.6235 GB, free: 7.727 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-06/0.0096, allocations: 4 kB / 0.6235 GB, free: 7.723 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.009603, allocations: 0 / 0.6235 GB, free: 7.723 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-06/0.009607, allocations: 4.078 kB / 0.6235 GB, free: 7.719 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003666/0.009974, allocations: 415.9 kB / 0.6239 GB, free: 7.254 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.009976, allocations: 4 kB / 0.6239 GB, free: 7.25 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.577e-05/0.01003, allocations: 23.98 kB / 0.6239 GB, free: 7.227 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.01003, allocations: 0 / 0.6239 GB, free: 7.227 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.01004, allocations: 4 kB / 0.6239 GB, free: 7.223 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.01004, allocations: 0 / 0.6239 GB, free: 7.223 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.01005, allocations: 4 kB / 0.624 GB, free: 7.219 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001951/0.01024, allocations: 242 kB / 0.6242 GB, free: 6.957 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.884e-05/0.01026, allocations: 15.89 kB / 0.6242 GB, free: 6.941 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.652e-05/0.01028, allocations: 7.984 kB / 0.6242 GB, free: 6.934 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.268e-05/0.01035, allocations: 15.98 kB / 0.6242 GB, free: 6.918 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.597e-05/0.01039, allocations: 11.92 kB / 0.6242 GB, free: 6.906 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.374e-06/0.01039, allocations: 8 kB / 0.6242 GB, free: 6.898 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 8.303e-05/0.01048, allocations: 149.7 kB / 0.6244 GB, free: 6.754 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.01048, allocations: 0 / 0.6244 GB, free: 6.754 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000172/0.01065, allocations: 27.95 kB / 0.6244 GB, free: 6.727 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.0003999/0.01105, allocations: 0.7662 MB / 0.6252 GB, free: 5.922 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001924/0.01124, allocations: 95.88 kB / 0.6252 GB, free: 5.828 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.01124, allocations: 4 kB / 0.6253 GB, free: 5.824 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 7.016e-05/0.01131, allocations: 43.91 kB / 0.6253 GB, free: 5.781 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002491/0.01156, allocations: 28.11 kB / 0.6253 GB, free: 5.754 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001502/0.01306, allocations: 1.892 MB / 0.6272 GB, free: 3.766 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.432e-05/0.01313, allocations: 98.77 kB / 0.6273 GB, free: 3.645 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.008e-05/0.01317, allocations: 13.14 kB / 0.6273 GB, free: 3.633 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.505e-05/0.01323, allocations: 44.48 kB / 0.6273 GB, free: 3.59 MB / 0.5886 GB Notification: Performance of SimCode: time 5.31e-07/0.01323, allocations: 192 / 0.6273 GB, free: 3.59 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0188/0.03203, allocations: 3.535 MB / 0.6308 GB, free: 228 kB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.78/6.812, allocations: 12.56 kB / 0.6308 GB, free: 220 kB / 0.5886 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.609742913395166] Failed to read output from testmodel.py, exit status != 0: 6.896933761425316 6.907535021 6.898643285 Calling exit ...