Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge.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.001636/0.001636, allocations: 76.45 kB / 19.02 MB, free: 1.102 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.001941/0.001941, allocations: 159.2 kB / 22.29 MB, free: 3.512 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.439/1.439, allocations: 177.2 MB / 202.7 MB, free: 4.809 MB / 186.7 MB " [Timeout remaining time 178] 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 1.238/1.238, allocations: 154.7 MB / 413.8 MB, free: 3.121 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.Logical.Validation.Edge,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Logical_Validation_Edge",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Logical.Validation.Edge,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Logical_Validation_Edge",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.002043/0.002043, allocations: 69.48 kB / 0.6181 GB, free: 1.109 MB / 0.5105 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.2074/0.2094, allocations: 102 MB / 0.7177 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Edge): time 0.002134/0.2116, allocations: 0.717 MB / 0.7184 GB, free: 10.51 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00167/0.2132, allocations: 1.159 MB / 0.7195 GB, free: 9.34 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.451e-05/0.2133, allocations: 4 kB / 0.7195 GB, free: 9.336 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.078e-05/0.2133, allocations: 3.938 kB / 0.7195 GB, free: 9.332 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.855e-05/0.2134, allocations: 15.86 kB / 0.7195 GB, free: 9.316 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004827/0.2139, allocations: 146.9 kB / 0.7197 GB, free: 9.176 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001859/0.2141, allocations: 111.8 kB / 0.7198 GB, free: 9.066 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.267e-05/0.2142, allocations: 16.25 kB / 0.7198 GB, free: 9.051 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001286/0.2143, allocations: 67.83 kB / 0.7198 GB, free: 8.984 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.391e-05/0.2144, allocations: 39.83 kB / 0.7199 GB, free: 8.945 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.685e-05/0.2144, allocations: 16 kB / 0.7199 GB, free: 8.93 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.592e-05/0.2145, allocations: 23.97 kB / 0.7199 GB, free: 8.906 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.526e-05/0.2145, allocations: 8 kB / 0.7199 GB, free: 8.898 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.627e-05/0.2146, allocations: 43.84 kB / 0.72 GB, free: 8.855 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001832/0.2147, allocations: 103.7 kB / 0.7201 GB, free: 8.754 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.2147, allocations: 3.938 kB / 0.7201 GB, free: 8.75 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.362e-06/0.2147, allocations: 0 / 0.7201 GB, free: 8.75 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.04e-06/0.2148, allocations: 0 / 0.7201 GB, free: 8.75 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006063/0.2154, allocations: 339.7 kB / 0.7204 GB, free: 8.379 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.2154, allocations: 16.03 kB / 0.7204 GB, free: 8.363 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.73e-05/0.2154, allocations: 34.73 kB / 0.7204 GB, free: 8.32 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.406e-05/0.2155, allocations: 8.938 kB / 0.7204 GB, free: 8.312 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001287/0.2156, allocations: 118.4 kB / 0.7206 GB, free: 8.172 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.767e-05/0.2156, allocations: 8.312 kB / 0.7206 GB, free: 8.164 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.158e-05/0.2157, allocations: 8.375 kB / 0.7206 GB, free: 8.156 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002194/0.2159, allocations: 66.91 kB / 0.7206 GB, free: 8.086 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.2159, allocations: 7.938 kB / 0.7206 GB, free: 8.078 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.2159, allocations: 0 / 0.7206 GB, free: 8.078 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.2159, allocations: 0 / 0.7206 GB, free: 8.078 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001919/0.2161, allocations: 47.95 kB / 0.7207 GB, free: 8.031 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005335/0.2166, allocations: 283.8 kB / 0.721 GB, free: 7.711 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002034/0.2168, allocations: 58.59 kB / 0.721 GB, free: 7.645 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001117/0.2169, allocations: 28.97 kB / 0.721 GB, free: 7.613 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.878e-06/0.217, allocations: 0 / 0.721 GB, free: 7.613 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003025/0.2173, allocations: 95.42 kB / 0.7211 GB, free: 7.508 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 1.072e-06/0.2173, allocations: 3.938 kB / 0.7211 GB, free: 7.504 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.000485/0.2177, allocations: 141.6 kB / 0.7213 GB, free: 7.359 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.924e-05/0.2178, allocations: 59.39 kB / 0.7213 GB, free: 7.289 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001119/0.2179, allocations: 116.9 kB / 0.7214 GB, free: 7.168 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.638e-05/0.2179, allocations: 29.7 kB / 0.7215 GB, free: 7.133 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.199e-05/0.218, allocations: 92.12 kB / 0.7216 GB, free: 7.039 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.211e-05/0.2181, allocations: 31.78 kB / 0.7216 GB, free: 7.008 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.047e-05/0.2181, allocations: 37.7 kB / 0.7216 GB, free: 6.965 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001572/0.2183, allocations: 326.7 kB / 0.7219 GB, free: 6.637 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001999/0.2185, allocations: 85.66 kB / 0.722 GB, free: 6.547 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002186/0.2187, allocations: 121.8 kB / 0.7221 GB, free: 6.406 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003127/0.219, allocations: 141.9 kB / 0.7223 GB, free: 6.246 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.219, allocations: 0 / 0.7223 GB, free: 6.246 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005033/0.2195, allocations: 237.2 kB / 0.7225 GB, free: 5.996 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.834e-05/0.2196, allocations: 41.69 kB / 0.7225 GB, free: 5.949 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.2196, allocations: 0 / 0.7225 GB, free: 5.949 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.2196, allocations: 4 kB / 0.7225 GB, free: 5.945 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001151/0.2197, allocations: 20.05 kB / 0.7226 GB, free: 5.926 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.2197, allocations: 0 / 0.7226 GB, free: 5.926 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002193/0.2199, allocations: 31.95 kB / 0.7226 GB, free: 5.895 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.885e-05/0.22, allocations: 8 kB / 0.7226 GB, free: 5.887 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,edge1.y,edge1.u,$PRE.edge1.u,booPul.y,$PRE.booPul.y,$whenCondition3) * 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.0001269/0.2201, allocations: 125.8 kB / 0.7227 GB, free: 5.754 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.098e-05/0.2201, allocations: 7.953 kB / 0.7227 GB, free: 5.746 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.263e-05/0.2201, allocations: 12.42 kB / 0.7227 GB, free: 5.734 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.2201, allocations: 0 / 0.7227 GB, free: 5.734 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.2202, allocations: 4 kB / 0.7227 GB, free: 5.73 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.2202, allocations: 4 kB / 0.7227 GB, free: 5.727 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005609/0.2207, allocations: 341.5 kB / 0.7231 GB, free: 5.344 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.2207, allocations: 0 / 0.7231 GB, free: 5.344 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.797e-05/0.2208, allocations: 7.984 kB / 0.7231 GB, free: 5.336 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.2208, allocations: 4 kB / 0.7231 GB, free: 5.332 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.425e-06/0.2208, allocations: 0 / 0.7231 GB, free: 5.332 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/0.2208, allocations: 3.938 kB / 0.7231 GB, free: 5.328 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.2208, allocations: 4 kB / 0.7231 GB, free: 5.324 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003383/0.2211, allocations: 211.5 kB / 0.7233 GB, free: 5.102 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.626e-05/0.2211, allocations: 11.89 kB / 0.7233 GB, free: 5.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.893e-05/0.2212, allocations: 7.984 kB / 0.7233 GB, free: 5.082 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.781e-05/0.2213, allocations: 4 kB / 0.7233 GB, free: 5.078 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.723e-05/0.2213, allocations: 7.922 kB / 0.7233 GB, free: 5.07 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.947e-06/0.2213, allocations: 8 kB / 0.7233 GB, free: 5.062 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.317e-05/0.2214, allocations: 95.2 kB / 0.7234 GB, free: 4.969 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.2214, allocations: 0 / 0.7234 GB, free: 4.969 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002727/0.2216, allocations: 24 kB / 0.7234 GB, free: 4.945 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: 7 (edge1.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,edge1.u,triggeredSampler.y) * Number of discrete states: 1 (edge1.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.0007108/0.2224, allocations: 0.7436 MB / 0.7242 GB, free: 4.176 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004518/0.2228, allocations: 193 kB / 0.7244 GB, free: 3.969 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2228, allocations: 0 / 0.7244 GB, free: 3.969 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001308/0.2229, allocations: 40.22 kB / 0.7244 GB, free: 3.93 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002885/0.2232, allocations: 19.86 kB / 0.7244 GB, free: 3.91 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002688/0.2259, allocations: 1.813 MB / 0.7262 GB, free: 1.957 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.167e-05/0.226, allocations: 71.33 kB / 0.7263 GB, free: 1.867 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.274e-05/0.226, allocations: 7.781 kB / 0.7263 GB, free: 1.859 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.153e-05/0.2261, allocations: 24.48 kB / 0.7263 GB, free: 1.836 MB / 0.6198 GB Notification: Performance of SimCode: time 1.002e-06/0.2261, allocations: 0 / 0.7263 GB, free: 1.836 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03217/0.2583, allocations: 3.33 MB / 0.7295 GB, free: 14.63 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.53, allocations: 6.25 kB / 0.7295 GB, free: 14.63 MB / 0.6355 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Logical_Validation_Edge_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Logical_Validation_Edge.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.611001059995033] Failed to read output from testmodel.py, exit status != 0: 11.634499920008238 11.654782573 11.436454660999999 Calling exit ...