Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.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.001412/0.001412, allocations: 72.47 kB / 19.02 MB, free: 1.23 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.001504/0.001504, allocations: 160.5 kB / 22.28 MB, free: 3.629 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.407/1.407, allocations: 177.2 MB / 202.7 MB, free: 4.801 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.279/1.279, allocations: 154.7 MB / 413.8 MB, free: 3.176 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.Reals.Validation.Derivative,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Derivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Derivative",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.00201/0.00201, allocations: 62.34 kB / 0.6181 GB, free: 0.9453 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.2147/0.2167, allocations: 102 MB / 0.7177 GB, free: 11.08 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.002513/0.2192, allocations: 0.9971 MB / 0.7187 GB, free: 10.08 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001649/0.2208, allocations: 1.019 MB / 0.7197 GB, free: 9.051 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001161/0.221, allocations: 8 kB / 0.7197 GB, free: 9.043 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001507/0.2211, allocations: 27.67 kB / 0.7197 GB, free: 9.016 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.443e-05/0.2212, allocations: 27.66 kB / 0.7197 GB, free: 8.988 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003524/0.2215, allocations: 74.88 kB / 0.7198 GB, free: 8.918 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002312/0.2218, allocations: 180.1 kB / 0.72 GB, free: 8.738 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001752/0.2219, allocations: 52.47 kB / 0.72 GB, free: 8.684 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001708/0.2221, allocations: 111.7 kB / 0.7201 GB, free: 8.574 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001109/0.2222, allocations: 63.62 kB / 0.7202 GB, free: 8.512 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.537e-05/0.2223, allocations: 16 kB / 0.7202 GB, free: 8.496 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.828e-05/0.2223, allocations: 27.98 kB / 0.7202 GB, free: 8.469 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.308e-05/0.2224, allocations: 39.84 kB / 0.7203 GB, free: 8.43 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.173e-05/0.2225, allocations: 67.59 kB / 0.7203 GB, free: 8.363 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002962/0.2228, allocations: 187.2 kB / 0.7205 GB, free: 8.18 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.2228, allocations: 0 / 0.7205 GB, free: 8.18 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.332e-06/0.2228, allocations: 3.938 kB / 0.7205 GB, free: 8.176 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.813e-06/0.2228, allocations: 0 / 0.7205 GB, free: 8.176 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0009353/0.2237, allocations: 442.1 kB / 0.721 GB, free: 7.707 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.2238, allocations: 12.03 kB / 0.721 GB, free: 7.695 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.04e-05/0.2238, allocations: 46.73 kB / 0.721 GB, free: 7.641 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001055/0.2239, allocations: 20.84 kB / 0.721 GB, free: 7.621 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003785/0.2243, allocations: 164.3 kB / 0.7212 GB, free: 7.438 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.377e-05/0.2243, allocations: 12.38 kB / 0.7212 GB, free: 7.426 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.343e-05/0.2244, allocations: 16.38 kB / 0.7212 GB, free: 7.41 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003818/0.2248, allocations: 179.2 kB / 0.7214 GB, free: 7.223 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.2248, allocations: 4 kB / 0.7214 GB, free: 7.219 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.966e-05/0.2248, allocations: 4 kB / 0.7214 GB, free: 7.215 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.303e-06/0.2248, allocations: 4 kB / 0.7214 GB, free: 7.211 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003015/0.2251, allocations: 107.8 kB / 0.7215 GB, free: 7.105 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001162/0.2263, allocations: 475.3 kB / 0.722 GB, free: 6.598 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004101/0.2267, allocations: 138.7 kB / 0.7221 GB, free: 6.453 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001824/0.2268, allocations: 76.83 kB / 0.7222 GB, free: 6.375 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.541e-05/0.2269, allocations: 7.984 kB / 0.7222 GB, free: 6.367 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002792/0.2272, allocations: 147.2 kB / 0.7223 GB, free: 6.207 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=19): time 1.453e-06/0.2272, allocations: 0 / 0.7223 GB, free: 6.207 MB / 0.6198 GB Notification: Performance of matching and sorting (n=19): time 0.0006103/0.2278, allocations: 223 kB / 0.7225 GB, free: 5.984 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.537e-05/0.2278, allocations: 55.41 kB / 0.7226 GB, free: 5.918 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001552/0.228, allocations: 158.3 kB / 0.7227 GB, free: 5.754 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.752e-05/0.228, allocations: 25.7 kB / 0.7227 GB, free: 5.723 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.371e-05/0.2281, allocations: 128.4 kB / 0.7229 GB, free: 5.594 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.823e-05/0.2282, allocations: 67.42 kB / 0.7229 GB, free: 5.527 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.137e-05/0.2283, allocations: 41.7 kB / 0.723 GB, free: 5.48 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001668/0.2284, allocations: 322.8 kB / 0.7233 GB, free: 5.156 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002202/0.2286, allocations: 71.95 kB / 0.7233 GB, free: 5.086 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003156/0.229, allocations: 85.67 kB / 0.7234 GB, free: 4.996 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003843/0.2293, allocations: 152.5 kB / 0.7236 GB, free: 4.844 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.2293, allocations: 0 / 0.7236 GB, free: 4.844 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005282/0.2299, allocations: 217.4 kB / 0.7238 GB, free: 4.625 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.2299, allocations: 4 kB / 0.7238 GB, free: 4.621 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.2299, allocations: 4 kB / 0.7238 GB, free: 4.617 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.2299, allocations: 0 / 0.7238 GB, free: 4.617 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002084/0.2301, allocations: 35.97 kB / 0.7238 GB, free: 4.582 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.233e-05/0.2301, allocations: 4 kB / 0.7238 GB, free: 4.578 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001578/0.2303, allocations: 27.83 kB / 0.7239 GB, free: 4.551 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.645e-05/0.2303, allocations: 4 kB / 0.7239 GB, free: 4.547 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,lesThr.lesHys.y,$PRE.lesThr.lesHys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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 0.000132/0.2305, allocations: 137.7 kB / 0.724 GB, free: 4.402 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.754e-05/0.2305, allocations: 15.94 kB / 0.724 GB, free: 4.387 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004557/0.2309, allocations: 186.6 kB / 0.7242 GB, free: 4.199 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.2309, allocations: 4 kB / 0.7242 GB, free: 4.195 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.2309, allocations: 0 / 0.7242 GB, free: 4.195 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.231, allocations: 3.984 kB / 0.7242 GB, free: 4.191 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009443/0.2319, allocations: 0.5452 MB / 0.7247 GB, free: 3.578 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.2319, allocations: 0 / 0.7247 GB, free: 3.578 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000208/0.2321, allocations: 39.97 kB / 0.7248 GB, free: 3.539 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.484e-06/0.2321, allocations: 3.938 kB / 0.7248 GB, free: 3.535 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.654e-05/0.2321, allocations: 8 kB / 0.7248 GB, free: 3.527 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.422e-06/0.2321, allocations: 7.938 kB / 0.7248 GB, free: 3.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.2321, allocations: 4.188 kB / 0.7248 GB, free: 3.516 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006513/0.2328, allocations: 383.1 kB / 0.7252 GB, free: 3.109 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.351e-05/0.2328, allocations: 27.78 kB / 0.7252 GB, free: 3.082 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.68e-05/0.2329, allocations: 4 kB / 0.7252 GB, free: 3.078 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001595/0.233, allocations: 16.03 kB / 0.7252 GB, free: 3.062 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.629e-05/0.2331, allocations: 23.95 kB / 0.7252 GB, free: 3.039 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.515e-05/0.2331, allocations: 4 kB / 0.7252 GB, free: 3.035 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000101/0.2332, allocations: 128.1 kB / 0.7253 GB, free: 2.91 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/0.2332, allocations: 0 / 0.7253 GB, free: 2.91 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002821/0.2335, allocations: 31.95 kB / 0.7254 GB, free: 2.879 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (der2.x,intWitRes.y,der1.x) * Number of discrete variables: 2 ($whenCondition1,lesThr.lesHys.y) * Number of discrete states: 1 (lesThr.lesHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.001005/0.2345, allocations: 0.9203 MB / 0.7263 GB, free: 1.914 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004519/0.235, allocations: 158.8 kB / 0.7264 GB, free: 1.762 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.235, allocations: 3.938 kB / 0.7264 GB, free: 1.758 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002149/0.2352, allocations: 91.77 kB / 0.7265 GB, free: 1.668 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000361/0.2355, allocations: 28.55 kB / 0.7265 GB, free: 1.641 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00321/0.2387, allocations: 2.139 MB / 0.7286 GB, free: 15.38 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001318/0.2389, allocations: 116.3 kB / 0.7287 GB, free: 15.24 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 9.297e-05/0.239, allocations: 13.48 kB / 0.7288 GB, free: 15.23 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001085/0.2391, allocations: 52.48 kB / 0.7288 GB, free: 15.18 MB / 0.6355 GB Notification: Performance of SimCode: time 7.72e-07/0.2391, allocations: 4 kB / 0.7288 GB, free: 15.17 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03573/0.2748, allocations: 4.364 MB / 0.7331 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.51, allocations: 9 kB / 0.7331 GB, free: 10.93 MB / 0.6355 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Derivative_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-07 IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Derivative.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.595016879989998] Failed to read output from testmodel.py, exit status != 0: 11.62832989099843 11.646650433 11.419761758 Calling exit ...