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.0007296/0.0007296, allocations: 97.5 kB / 18.95 MB, free: 1.312 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.0008622/0.0008622, allocations: 213.7 kB / 22.25 MB, free: 3.676 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 0.9964/0.9964, allocations: 230.6 MB / 256 MB, free: 9.566 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.8179/0.8179, allocations: 203.8 MB / 0.5042 GB, free: 10.45 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.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.001333/0.001333, allocations: 71.08 kB / 0.7182 GB, free: 3.973 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5808/0.5821, allocations: 102 MB / 0.8178 GB, free: 1.039 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Line): time 0.001655/0.5838, allocations: 0.8333 MB / 0.8187 GB, free: 0.5 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009739/0.5848, allocations: 0.9188 MB / 0.8196 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.985e-05/0.5848, allocations: 0 / 0.8196 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.79e-05/0.5849, allocations: 13.83 kB / 0.8196 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.017e-05/0.585, allocations: 8.625 kB / 0.8196 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001938/0.5852, allocations: 70.33 kB / 0.8196 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001907/0.5853, allocations: 140 kB / 0.8198 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001606/0.5855, allocations: 46.69 kB / 0.8198 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.181e-05/0.5856, allocations: 56.69 kB / 0.8199 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.303e-05/0.5857, allocations: 55.47 kB / 0.8199 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.205e-05/0.5857, allocations: 12.06 kB / 0.8199 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.611e-05/0.5857, allocations: 17.19 kB / 0.82 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.755e-05/0.5857, allocations: 32.73 kB / 0.82 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.389e-05/0.5858, allocations: 47.66 kB / 0.82 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000199/0.586, allocations: 146 kB / 0.8202 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.586, allocations: 0 / 0.8202 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.545e-06/0.586, allocations: 1.062 kB / 0.8202 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.553e-06/0.586, allocations: 0.6094 kB / 0.8202 GB, free: 15.5 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0005221/0.5865, allocations: 368.9 kB / 0.8205 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.5866, allocations: 10.94 kB / 0.8205 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.304e-05/0.5866, allocations: 49.02 kB / 0.8206 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.492e-05/0.5866, allocations: 15.12 kB / 0.8206 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002305/0.5869, allocations: 159.6 kB / 0.8208 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.5869, allocations: 9.875 kB / 0.8208 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.316e-05/0.5869, allocations: 14.22 kB / 0.8208 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002935/0.5872, allocations: 227.9 kB / 0.821 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.5872, allocations: 3.938 kB / 0.821 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.504e-05/0.5872, allocations: 10.91 kB / 0.821 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.5872, allocations: 1.594 kB / 0.821 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001925/0.5874, allocations: 129.2 kB / 0.8211 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005757/0.588, allocations: 434.5 kB / 0.8215 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001459/0.5881, allocations: 84.98 kB / 0.8216 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.248e-05/0.5882, allocations: 43.95 kB / 0.8217 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.277e-05/0.5882, allocations: 6.516 kB / 0.8217 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.57e-05/0.5882, allocations: 40.22 kB / 0.8217 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 1.452e-06/0.5883, allocations: 0 / 0.8217 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0003362/0.5886, allocations: 159.1 kB / 0.8219 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.796e-05/0.5886, allocations: 52.34 kB / 0.8219 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001622/0.5888, allocations: 193.2 kB / 0.8221 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.949e-05/0.5888, allocations: 35.08 kB / 0.8221 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.038e-05/0.5889, allocations: 110.4 kB / 0.8222 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.466e-05/0.5889, allocations: 35.17 kB / 0.8223 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.932e-05/0.5889, allocations: 24.03 kB / 0.8223 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.323e-05/0.589, allocations: 330.3 kB / 0.8226 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.403e-05/0.5891, allocations: 42.73 kB / 0.8226 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.932e-05/0.5892, allocations: 37.16 kB / 0.8227 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000157/0.5893, allocations: 94.62 kB / 0.8228 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.5893, allocations: 5.438 kB / 0.8228 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002288/0.5896, allocations: 151.4 kB / 0.8229 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.5896, allocations: 5.969 kB / 0.8229 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.5896, allocations: 0 / 0.8229 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.5896, allocations: 1.094 kB / 0.8229 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/0.5897, allocations: 25.97 kB / 0.823 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.5897, allocations: 1.312 kB / 0.823 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.105e-05/0.5898, allocations: 30.62 kB / 0.823 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/0.5898, allocations: 6.219 kB / 0.823 GB, free: 13.35 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 (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.637e-05/0.5899, allocations: 122.1 kB / 0.8231 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.989e-05/0.5899, allocations: 10.61 kB / 0.8231 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000213/0.5901, allocations: 145.8 kB / 0.8233 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.5901, allocations: 1.5 kB / 0.8233 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.5901, allocations: 96 / 0.8233 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.5901, allocations: 8.359 kB / 0.8233 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003624/0.5905, allocations: 399.2 kB / 0.8236 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.5905, allocations: 1.094 kB / 0.8236 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.721e-05/0.5905, allocations: 24.88 kB / 0.8237 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.127e-06/0.5905, allocations: 2.469 kB / 0.8237 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/0.5905, allocations: 2.078 kB / 0.8237 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.5905, allocations: 1.156 kB / 0.8237 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.5905, allocations: 1.609 kB / 0.8237 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002221/0.5908, allocations: 251.2 kB / 0.8239 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.153e-05/0.5908, allocations: 15.62 kB / 0.8239 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.665e-05/0.5908, allocations: 7.203 kB / 0.8239 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.485e-05/0.5909, allocations: 17.27 kB / 0.824 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.978e-05/0.5909, allocations: 11.16 kB / 0.824 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.438e-06/0.5909, allocations: 9.062 kB / 0.824 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 9.636e-05/0.591, allocations: 147.6 kB / 0.8241 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.591, allocations: 0 / 0.8241 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001645/0.5912, allocations: 29.91 kB / 0.8241 GB, free: 12.46 MB / 0.6198 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.0004084/0.5916, allocations: 0.7718 MB / 0.8249 GB, free: 11.74 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002086/0.5918, allocations: 95.34 kB / 0.825 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.5918, allocations: 1.062 kB / 0.825 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.741e-05/0.5919, allocations: 53.48 kB / 0.825 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002253/0.5921, allocations: 18.61 kB / 0.8251 GB, free: 11.69 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001582/0.5937, allocations: 1.891 MB / 0.8269 GB, free: 10.22 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.734e-05/0.5938, allocations: 101.3 kB / 0.827 GB, free: 10.14 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.429e-05/0.5938, allocations: 13.64 kB / 0.827 GB, free: 10.14 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.523e-05/0.5939, allocations: 44.75 kB / 0.8271 GB, free: 10.11 MB / 0.6198 GB Notification: Performance of SimCode: time 4.41e-07/0.5939, allocations: 0 / 0.8271 GB, free: 10.11 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01853/0.6124, allocations: 3.396 MB / 0.8304 GB, free: 9.133 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.492/7.105, allocations: 6.438 kB / 0.8304 GB, free: 9.133 MB / 0.6198 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: 10.152466347906739] Failed to read output from testmodel.py, exit status != 0: 7.183126012794673 7.193499205 6.605111012 Calling exit ...