Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.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.001223/0.001223, allocations: 68.47 kB / 19.02 MB, free: 1.133 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.001563/0.001563, allocations: 164.3 kB / 22.29 MB, free: 3.527 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.428/1.428, allocations: 177.2 MB / 202.7 MB, free: 4.812 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.263/1.263, allocations: 154.7 MB / 413.8 MB, free: 3.141 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 178] 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.Change,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Logical_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Logical.Validation.Change,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Logical_Validation_Change",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.002079/0.002079, allocations: 62.91 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.2243/0.2264, allocations: 102 MB / 0.7177 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Change): time 0.002213/0.2286, allocations: 0.7248 MB / 0.7184 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001749/0.2304, allocations: 1.162 MB / 0.7195 GB, free: 9.344 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.846e-05/0.2304, allocations: 4 kB / 0.7195 GB, free: 9.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.586e-05/0.2305, allocations: 3.938 kB / 0.7195 GB, free: 9.336 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.007e-05/0.2306, allocations: 11.91 kB / 0.7195 GB, free: 9.324 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005323/0.2311, allocations: 138.5 kB / 0.7197 GB, free: 9.191 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002155/0.2313, allocations: 111.8 kB / 0.7198 GB, free: 9.082 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.946e-05/0.2314, allocations: 16.25 kB / 0.7198 GB, free: 9.066 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001372/0.2315, allocations: 67.89 kB / 0.7198 GB, free: 9 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001052/0.2316, allocations: 43.81 kB / 0.7199 GB, free: 8.957 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.184e-05/0.2317, allocations: 12 kB / 0.7199 GB, free: 8.945 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.221e-05/0.2317, allocations: 19.98 kB / 0.7199 GB, free: 8.926 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.609e-05/0.2318, allocations: 11.98 kB / 0.7199 GB, free: 8.914 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.748e-05/0.2318, allocations: 35.86 kB / 0.72 GB, free: 8.879 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002085/0.232, allocations: 123.6 kB / 0.7201 GB, free: 8.758 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.2321, allocations: 0 / 0.7201 GB, free: 8.758 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.442e-06/0.2321, allocations: 0 / 0.7201 GB, free: 8.758 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.404e-06/0.2321, allocations: 0 / 0.7201 GB, free: 8.758 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.0006349/0.2327, allocations: 335.8 kB / 0.7204 GB, free: 8.391 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.2327, allocations: 8.031 kB / 0.7204 GB, free: 8.383 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.382e-05/0.2328, allocations: 38.69 kB / 0.7204 GB, free: 8.336 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.913e-05/0.2328, allocations: 12.89 kB / 0.7205 GB, free: 8.324 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.2329, allocations: 118.4 kB / 0.7206 GB, free: 8.184 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.809e-05/0.233, allocations: 4.375 kB / 0.7206 GB, free: 8.18 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.55e-05/0.233, allocations: 16.36 kB / 0.7206 GB, free: 8.164 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000214/0.2332, allocations: 62.92 kB / 0.7206 GB, free: 8.098 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.2332, allocations: 3.938 kB / 0.7206 GB, free: 8.094 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.866e-06/0.2332, allocations: 0 / 0.7206 GB, free: 8.094 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.2332, allocations: 0 / 0.7206 GB, free: 8.094 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001896/0.2334, allocations: 39.95 kB / 0.7207 GB, free: 8.055 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005217/0.2339, allocations: 291.8 kB / 0.721 GB, free: 7.727 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001967/0.2341, allocations: 58.61 kB / 0.721 GB, free: 7.66 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000114/0.2343, allocations: 32.97 kB / 0.7211 GB, free: 7.625 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.817e-06/0.2343, allocations: 0 / 0.7211 GB, free: 7.625 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002781/0.2345, allocations: 91.3 kB / 0.7211 GB, free: 7.523 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 1.042e-06/0.2345, allocations: 0 / 0.7211 GB, free: 7.523 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0004794/0.235, allocations: 145.6 kB / 0.7213 GB, free: 7.375 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.202e-05/0.2351, allocations: 55.41 kB / 0.7213 GB, free: 7.309 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/0.2352, allocations: 120.7 kB / 0.7214 GB, free: 7.184 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.348e-05/0.2352, allocations: 29.7 kB / 0.7215 GB, free: 7.148 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.023e-05/0.2353, allocations: 92.12 kB / 0.7216 GB, free: 7.055 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.188e-05/0.2353, allocations: 27.86 kB / 0.7216 GB, free: 7.027 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.404e-05/0.2354, allocations: 41.64 kB / 0.7216 GB, free: 6.98 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001601/0.2356, allocations: 322.8 kB / 0.7219 GB, free: 6.656 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001994/0.2358, allocations: 85.66 kB / 0.722 GB, free: 6.566 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002109/0.236, allocations: 114 kB / 0.7221 GB, free: 6.434 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000314/0.2363, allocations: 146.2 kB / 0.7223 GB, free: 6.27 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.2363, allocations: 0 / 0.7223 GB, free: 6.27 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005037/0.2368, allocations: 240.8 kB / 0.7225 GB, free: 6.016 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.424e-05/0.2368, allocations: 37.69 kB / 0.7225 GB, free: 5.973 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.2368, allocations: 4 kB / 0.7225 GB, free: 5.969 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.2369, allocations: 0 / 0.7225 GB, free: 5.969 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.412e-05/0.2369, allocations: 15.98 kB / 0.7225 GB, free: 5.953 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.237, allocations: 0 / 0.7225 GB, free: 5.953 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000225/0.2372, allocations: 35.95 kB / 0.7226 GB, free: 5.918 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.984e-05/0.2372, allocations: 8.125 kB / 0.7226 GB, free: 5.91 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,change.y,change.u,$PRE.change.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.0001203/0.2373, allocations: 129.7 kB / 0.7227 GB, free: 5.773 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.755e-05/0.2373, allocations: 7.953 kB / 0.7227 GB, free: 5.766 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.866e-05/0.2374, allocations: 8.422 kB / 0.7227 GB, free: 5.758 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/0.2374, allocations: 3.984 kB / 0.7227 GB, free: 5.754 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.2374, allocations: 4 kB / 0.7227 GB, free: 5.75 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.2374, allocations: 0 / 0.7227 GB, free: 5.75 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005106/0.2379, allocations: 337.5 kB / 0.7231 GB, free: 5.371 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.2379, allocations: 8.062 kB / 0.7231 GB, free: 5.363 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.016e-05/0.238, allocations: 19.92 kB / 0.7231 GB, free: 5.344 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.238, allocations: 0 / 0.7231 GB, free: 5.344 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.076e-06/0.238, allocations: 0 / 0.7231 GB, free: 5.344 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.238, allocations: 0 / 0.7231 GB, free: 5.344 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.238, allocations: 0 / 0.7231 GB, free: 5.344 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003388/0.2383, allocations: 211.3 kB / 0.7233 GB, free: 5.121 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.85e-05/0.2383, allocations: 15.89 kB / 0.7233 GB, free: 5.105 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.929e-05/0.2384, allocations: 7.984 kB / 0.7233 GB, free: 5.098 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.594e-05/0.2384, allocations: 4 kB / 0.7233 GB, free: 5.094 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.585e-05/0.2385, allocations: 11.92 kB / 0.7233 GB, free: 5.082 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.716e-06/0.2385, allocations: 4 kB / 0.7233 GB, free: 5.078 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.659e-05/0.2386, allocations: 95.2 kB / 0.7234 GB, free: 4.984 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8e-08/0.2386, allocations: 0 / 0.7234 GB, free: 4.984 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002675/0.2388, allocations: 24 kB / 0.7234 GB, free: 4.961 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 (change.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,change.u,triggeredSampler.y) * Number of discrete states: 1 (change.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.0008811/0.2397, allocations: 0.7437 MB / 0.7242 GB, free: 4.191 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004396/0.2401, allocations: 189 kB / 0.7243 GB, free: 3.988 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.2402, allocations: 0 / 0.7243 GB, free: 3.988 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001318/0.2403, allocations: 43.91 kB / 0.7244 GB, free: 3.945 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002766/0.2406, allocations: 9.812 kB / 0.7244 GB, free: 3.938 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002471/0.243, allocations: 1.82 MB / 0.7262 GB, free: 1.98 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.758e-05/0.2431, allocations: 75.33 kB / 0.7263 GB, free: 1.887 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.128e-05/0.2431, allocations: 11.72 kB / 0.7263 GB, free: 1.875 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.349e-05/0.2432, allocations: 28.48 kB / 0.7263 GB, free: 1.848 MB / 0.6198 GB Notification: Performance of SimCode: time 4.21e-07/0.2432, allocations: 0 / 0.7263 GB, free: 1.848 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03458/0.2778, allocations: 3.328 MB / 0.7295 GB, free: 14.65 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/11.66, allocations: 2.656 kB / 0.7295 GB, free: 14.65 MB / 0.6355 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Logical_Validation_Change_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Logical_Validation_Change.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.826687649008818] Failed to read output from testmodel.py, exit status != 0: 11.815367718008929 11.844938541 11.607599736 Calling exit ...