Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.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.001014/0.001014, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.001293/0.001293, allocations: 209.2 kB / 22.24 MB, free: 3.59 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 1.086/1.086, allocations: 230.6 MB / 256 MB, free: 9.605 MB / 202.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.8418/0.8418, allocations: 203.5 MB / 0.5039 GB, free: 10.71 MB / 410.7 MB " [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.Logical.Sources.Validation.SampleTrigger,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger",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.0009837/0.0009837, allocations: 63.31 kB / 0.7178 GB, free: 4.402 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6856/0.6865, allocations: 102 MB / 0.8174 GB, free: 1.23 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.002343/0.6889, allocations: 0.719 MB / 0.8181 GB, free: 0.7891 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001042/0.6899, allocations: 1.092 MB / 0.8192 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.705e-05/0.69, allocations: 1.312 kB / 0.8192 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.345e-05/0.69, allocations: 4.5 kB / 0.8192 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.633e-05/0.6901, allocations: 18.84 kB / 0.8192 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003146/0.6904, allocations: 55.28 kB / 0.8192 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001176/0.6905, allocations: 67.08 kB / 0.8193 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.6906, allocations: 19.05 kB / 0.8193 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.402e-05/0.6907, allocations: 28.44 kB / 0.8194 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.559e-05/0.6908, allocations: 33.58 kB / 0.8194 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.472e-05/0.6908, allocations: 5.438 kB / 0.8194 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.345e-05/0.6908, allocations: 17.55 kB / 0.8194 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.483e-05/0.6909, allocations: 23.7 kB / 0.8194 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.008e-05/0.6909, allocations: 24.75 kB / 0.8195 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001635/0.6911, allocations: 87.11 kB / 0.8195 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.6911, allocations: 0.5156 kB / 0.8195 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.264e-06/0.6911, allocations: 0 / 0.8195 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.6911, allocations: 0 / 0.8195 GB, free: 15.81 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004854/0.6916, allocations: 306.5 kB / 0.8198 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/0.6916, allocations: 11.34 kB / 0.8198 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.214e-05/0.6916, allocations: 36.11 kB / 0.8199 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.029e-05/0.6917, allocations: 13.36 kB / 0.8199 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00011/0.6918, allocations: 115.8 kB / 0.82 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.645e-05/0.6918, allocations: 4.438 kB / 0.82 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.313e-05/0.6918, allocations: 10.91 kB / 0.82 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001755/0.692, allocations: 68.72 kB / 0.8201 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.998e-06/0.692, allocations: 0 / 0.8201 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.692, allocations: 2.531 kB / 0.8201 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.692, allocations: 0.7031 kB / 0.8201 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001074/0.6921, allocations: 46.16 kB / 0.8201 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005038/0.6926, allocations: 277.9 kB / 0.8204 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001336/0.6928, allocations: 49.56 kB / 0.8204 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.795e-05/0.6928, allocations: 27.56 kB / 0.8205 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.206e-05/0.6929, allocations: 1.594 kB / 0.8205 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001799/0.693, allocations: 89.67 kB / 0.8206 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.272e-06/0.693, allocations: 0 / 0.8206 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0003166/0.6934, allocations: 128.5 kB / 0.8207 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.742e-05/0.6934, allocations: 54.27 kB / 0.8207 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.911e-05/0.6935, allocations: 135.8 kB / 0.8209 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/0.6935, allocations: 26.36 kB / 0.8209 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.396e-05/0.6936, allocations: 89.14 kB / 0.821 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.896e-05/0.6936, allocations: 15.23 kB / 0.821 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.616e-05/0.6936, allocations: 34.48 kB / 0.821 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.683e-05/0.6937, allocations: 324 kB / 0.8213 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.889e-05/0.6938, allocations: 27.83 kB / 0.8213 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.984e-05/0.6939, allocations: 75.91 kB / 0.8214 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001549/0.694, allocations: 108.9 kB / 0.8215 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.694, allocations: 0 / 0.8215 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000207/0.6943, allocations: 134.3 kB / 0.8217 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.6943, allocations: 4.969 kB / 0.8217 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.6943, allocations: 6.562 kB / 0.8217 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.6943, allocations: 2.812 kB / 0.8217 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.267e-05/0.6944, allocations: 16.73 kB / 0.8217 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.834e-06/0.6944, allocations: 3.281 kB / 0.8217 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.524e-05/0.6944, allocations: 15.08 kB / 0.8217 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/0.6945, allocations: 5.125 kB / 0.8217 GB, free: 13.96 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 8 (triggeredSampler1.y,$PRE.triggeredSampler1.y,triggeredSampler.y,$PRE.triggeredSampler.y,samTri.y,$whenCondition1,samTri1.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 8.416e-05/0.6945, allocations: 134.9 kB / 0.8218 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.268e-06/0.6945, allocations: 8.594 kB / 0.8218 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.873e-05/0.6946, allocations: 8.391 kB / 0.8218 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.6946, allocations: 4.703 kB / 0.8219 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.6946, allocations: 0 / 0.8219 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.6946, allocations: 0.7031 kB / 0.8219 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003523/0.6949, allocations: 339.3 kB / 0.8222 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.6949, allocations: 0.75 kB / 0.8222 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.13e-05/0.695, allocations: 19.73 kB / 0.8222 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.695, allocations: 2.094 kB / 0.8222 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.186e-06/0.695, allocations: 0.75 kB / 0.8222 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.695, allocations: 7.938 kB / 0.8222 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.695, allocations: 1.781 kB / 0.8222 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001795/0.6952, allocations: 203.2 kB / 0.8224 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.095e-05/0.6952, allocations: 12.55 kB / 0.8224 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.385e-05/0.6952, allocations: 3.188 kB / 0.8224 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.488e-05/0.6952, allocations: 13.3 kB / 0.8224 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.25e-05/0.6953, allocations: 5.875 kB / 0.8224 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.342e-06/0.6953, allocations: 0.5625 kB / 0.8224 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.736e-05/0.6953, allocations: 96.14 kB / 0.8225 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.6953, allocations: 6.219 kB / 0.8225 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001795/0.6955, allocations: 17.72 kB / 0.8226 GB, free: 13.25 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (samTri1.y,samTri.y,$whenCondition2,$whenCondition1,triggeredSampler.y,triggeredSampler1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0004367/0.696, allocations: 0.7374 MB / 0.8233 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002/0.6962, allocations: 76.81 kB / 0.8233 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.6962, allocations: 5.375 kB / 0.8234 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.906e-05/0.6962, allocations: 31.64 kB / 0.8234 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002082/0.6964, allocations: 12.53 kB / 0.8234 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001377/0.6978, allocations: 1.517 MB / 0.8249 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.4e-05/0.6979, allocations: 72.97 kB / 0.8249 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.098e-05/0.6979, allocations: 10 kB / 0.825 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.973e-05/0.698, allocations: 22.27 kB / 0.825 GB, free: 11.07 MB / 0.6198 GB Notification: Performance of SimCode: time 6.31e-07/0.698, allocations: 0 / 0.825 GB, free: 11.07 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0202/0.7182, allocations: 2.676 MB / 0.8276 GB, free: 10.15 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.417/8.135, allocations: 9.016 kB / 0.8276 GB, free: 10.15 MB / 0.6198 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.445160526782274] Failed to read output from testmodel.py, exit status != 0: 8.213035263121128 8.232875484 7.536695685 Calling exit ...