Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.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.001085/0.001085, allocations: 105.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.001017/0.001017, allocations: 206.6 kB / 22.24 MB, free: 3.582 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.042/1.042, allocations: 230.6 MB / 256 MB, free: 9.609 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.8405/0.8405, allocations: 203.5 MB / 0.5039 GB, free: 10.7 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.Discrete.Validation.TriggeredSampler,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Discrete_Validation_TriggeredSampler",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Discrete_Validation_TriggeredSampler",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.001151/0.001151, allocations: 69.3 kB / 0.7178 GB, free: 4.418 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.626/0.6271, allocations: 102 MB / 0.8174 GB, free: 1.234 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler): time 0.001943/0.6291, allocations: 0.7345 MB / 0.8181 GB, free: 0.7773 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001554/0.6306, allocations: 1.185 MB / 0.8192 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.536e-05/0.6307, allocations: 2.438 kB / 0.8192 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.883e-05/0.6307, allocations: 8.812 kB / 0.8192 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.136e-05/0.6308, allocations: 9.719 kB / 0.8193 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000503/0.6313, allocations: 146.7 kB / 0.8194 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001668/0.6315, allocations: 124.9 kB / 0.8195 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.6316, allocations: 13.61 kB / 0.8195 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.846e-05/0.6317, allocations: 59 kB / 0.8196 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.916e-05/0.6318, allocations: 41.69 kB / 0.8196 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.361e-05/0.6318, allocations: 10 kB / 0.8196 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.894e-05/0.6319, allocations: 27.8 kB / 0.8197 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.92e-05/0.6319, allocations: 22.86 kB / 0.8197 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.135e-05/0.632, allocations: 38.19 kB / 0.8197 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002306/0.6322, allocations: 128.5 kB / 0.8198 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.299e-06/0.6322, allocations: 0.6094 kB / 0.8198 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.444e-06/0.6322, allocations: 3.594 kB / 0.8198 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.335e-06/0.6322, allocations: 0 / 0.8198 GB, free: 15.64 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006172/0.6328, allocations: 350.8 kB / 0.8202 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.998e-05/0.6329, allocations: 9.594 kB / 0.8202 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.182e-05/0.6329, allocations: 37.28 kB / 0.8202 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001185/0.633, allocations: 12.69 kB / 0.8202 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001117/0.6331, allocations: 107.9 kB / 0.8203 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.342e-05/0.6332, allocations: 6.312 kB / 0.8203 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.157e-05/0.6332, allocations: 11.12 kB / 0.8204 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002244/0.6334, allocations: 79.47 kB / 0.8204 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.6334, allocations: 1.031 kB / 0.8204 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.6334, allocations: 2.172 kB / 0.8204 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.6334, allocations: 4 kB / 0.8204 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001277/0.6336, allocations: 46.75 kB / 0.8205 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000604/0.6342, allocations: 299 kB / 0.8208 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001853/0.6344, allocations: 58.23 kB / 0.8208 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.894e-05/0.6344, allocations: 28.34 kB / 0.8209 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.09e-05/0.6345, allocations: 6.125 kB / 0.8209 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003155/0.6348, allocations: 94.33 kB / 0.8209 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 2.715e-06/0.6348, allocations: 0 / 0.8209 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0003832/0.6352, allocations: 149.2 kB / 0.8211 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.765e-05/0.6352, allocations: 53.58 kB / 0.8211 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001112/0.6353, allocations: 126.8 kB / 0.8213 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.843e-05/0.6354, allocations: 32.98 kB / 0.8213 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.004e-05/0.6354, allocations: 94.47 kB / 0.8214 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.671e-05/0.6354, allocations: 21.84 kB / 0.8214 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.581e-05/0.6355, allocations: 36.34 kB / 0.8214 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.6356, allocations: 325.3 kB / 0.8218 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001492/0.6358, allocations: 80.64 kB / 0.8218 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001488/0.6359, allocations: 125.4 kB / 0.8219 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002056/0.6361, allocations: 149.7 kB / 0.8221 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.6361, allocations: 0.6562 kB / 0.8221 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003563/0.6365, allocations: 246.5 kB / 0.8223 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.026e-05/0.6365, allocations: 38.16 kB / 0.8224 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/0.6365, allocations: 7.219 kB / 0.8224 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.263e-05/0.6366, allocations: 3.062 kB / 0.8224 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.6367, allocations: 14.73 kB / 0.8224 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.407e-05/0.6367, allocations: 7.328 kB / 0.8224 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001335/0.6368, allocations: 33.23 kB / 0.8224 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.66e-05/0.6369, allocations: 12.92 kB / 0.8224 GB, free: 13.52 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (triSam1.y,$PRE.triSam1.y,triSam.y,$PRE.triSam.y,booPul.y,$PRE.booPul.y,$whenCondition3,$whenCondition1,$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): 10 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0001176/0.637, allocations: 126.3 kB / 0.8226 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.639e-05/0.637, allocations: 7.422 kB / 0.8226 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002854/0.6373, allocations: 127.1 kB / 0.8227 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.6373, allocations: 1.406 kB / 0.8227 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.6373, allocations: 0.7031 kB / 0.8227 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.6373, allocations: 1.266 kB / 0.8227 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003964/0.6377, allocations: 347.6 kB / 0.823 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.6377, allocations: 1 kB / 0.823 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.065e-05/0.6377, allocations: 16.89 kB / 0.823 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.6377, allocations: 1.094 kB / 0.823 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/0.6378, allocations: 1.641 kB / 0.823 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.849e-06/0.6378, allocations: 4.453 kB / 0.823 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.6378, allocations: 4.875 kB / 0.823 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002236/0.638, allocations: 212.3 kB / 0.8233 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.809e-05/0.638, allocations: 21.77 kB / 0.8233 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.575e-05/0.638, allocations: 2.531 kB / 0.8233 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.701e-05/0.6381, allocations: 19.94 kB / 0.8233 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.711e-05/0.6381, allocations: 5.641 kB / 0.8233 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.123e-06/0.6381, allocations: 3.875 kB / 0.8233 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.753e-05/0.6382, allocations: 90.72 kB / 0.8234 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.6382, allocations: 0 / 0.8234 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002087/0.6384, allocations: 28.2 kB / 0.8234 GB, free: 12.74 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 ($whenCondition3,$whenCondition1,$whenCondition2,booPul.y,triSam.y,triSam1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.000873/0.6393, allocations: 0.743 MB / 0.8241 GB, free: 12.06 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003501/0.6396, allocations: 200.6 kB / 0.8243 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.6396, allocations: 0 / 0.8243 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.906e-05/0.6397, allocations: 39.84 kB / 0.8244 GB, free: 11.92 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000275/0.64, allocations: 19.16 kB / 0.8244 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001918/0.6419, allocations: 1.83 MB / 0.8262 GB, free: 10.34 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.974e-05/0.642, allocations: 77.2 kB / 0.8262 GB, free: 10.26 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.124e-05/0.642, allocations: 9.109 kB / 0.8263 GB, free: 10.26 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.904e-05/0.6421, allocations: 29.17 kB / 0.8263 GB, free: 10.23 MB / 0.6198 GB Notification: Performance of SimCode: time 1.774e-06/0.6421, allocations: 0 / 0.8263 GB, free: 10.23 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02353/0.6656, allocations: 3.218 MB / 0.8294 GB, free: 9.262 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.205/7.871, allocations: 7.688 kB / 0.8294 GB, free: 9.258 MB / 0.6198 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Discrete_Validation_TriggeredSampler_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Discrete_Validation_TriggeredSampler.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.100826284382492] Failed to read output from testmodel.py, exit status != 0: 7.952448194846511 7.970225178 7.334820345 Calling exit ...