Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixGain.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.001403/0.001403, allocations: 72.45 kB / 19.02 MB, free: 1.129 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.001725/0.001725, allocations: 163.2 kB / 22.29 MB, free: 3.523 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.449/1.449, allocations: 177.2 MB / 202.7 MB, free: 4.816 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.137 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.MatrixGain,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_MatrixGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixGain,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_MatrixGain",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.00198/0.00198, allocations: 65.94 kB / 0.6181 GB, free: 0.9414 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.2228/0.2247, allocations: 102 MB / 0.7177 GB, free: 11.07 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.00232/0.2271, allocations: 0.7389 MB / 0.7184 GB, free: 10.33 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001145/0.2282, allocations: 0.851 MB / 0.7193 GB, free: 9.465 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.745e-05/0.2283, allocations: 4 kB / 0.7193 GB, free: 9.461 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002257/0.2285, allocations: 59.73 kB / 0.7193 GB, free: 9.402 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.005e-05/0.2286, allocations: 35.83 kB / 0.7194 GB, free: 9.367 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 8.663e-05/0.2286, allocations: 23.97 kB / 0.7194 GB, free: 9.344 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001531/0.2288, allocations: 87.69 kB / 0.7195 GB, free: 9.258 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001455/0.2289, allocations: 20.27 kB / 0.7195 GB, free: 9.238 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001124/0.2291, allocations: 55.81 kB / 0.7195 GB, free: 9.184 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001749/0.2292, allocations: 87.78 kB / 0.7196 GB, free: 9.098 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.509e-05/0.2293, allocations: 4 kB / 0.7196 GB, free: 9.094 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.732e-05/0.2293, allocations: 8 kB / 0.7196 GB, free: 9.086 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.45e-05/0.2294, allocations: 35.91 kB / 0.7197 GB, free: 9.051 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.314e-05/0.2294, allocations: 35.8 kB / 0.7197 GB, free: 9.016 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000182/0.2296, allocations: 123.4 kB / 0.7198 GB, free: 8.895 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.2296, allocations: 0 / 0.7198 GB, free: 8.895 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.994e-06/0.2296, allocations: 0 / 0.7198 GB, free: 8.895 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.324e-06/0.2296, allocations: 0 / 0.7198 GB, free: 8.895 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0009024/0.2305, allocations: 389.7 kB / 0.7202 GB, free: 8.48 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/0.2306, allocations: 11.97 kB / 0.7202 GB, free: 8.469 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.134e-05/0.2306, allocations: 38.75 kB / 0.7202 GB, free: 8.422 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.847e-05/0.2307, allocations: 12.84 kB / 0.7203 GB, free: 8.41 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000253/0.2309, allocations: 154.3 kB / 0.7204 GB, free: 8.234 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.2309, allocations: 8.312 kB / 0.7204 GB, free: 8.227 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.407e-05/0.2309, allocations: 384 / 0.7204 GB, free: 8.227 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004543/0.2314, allocations: 158.7 kB / 0.7206 GB, free: 8.062 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.2314, allocations: 7.875 kB / 0.7206 GB, free: 8.055 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.2314, allocations: 0 / 0.7206 GB, free: 8.055 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.2314, allocations: 0 / 0.7206 GB, free: 8.055 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005619/0.232, allocations: 171.8 kB / 0.7207 GB, free: 7.887 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009081/0.2329, allocations: 464 kB / 0.7212 GB, free: 7.387 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000449/0.2333, allocations: 153.1 kB / 0.7213 GB, free: 7.219 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002833/0.2336, allocations: 97.73 kB / 0.7214 GB, free: 7.117 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.532e-05/0.2336, allocations: 0 / 0.7214 GB, free: 7.117 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.145e-05/0.2337, allocations: 34.5 kB / 0.7214 GB, free: 7.074 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 8.52e-07/0.2337, allocations: 4 kB / 0.7214 GB, free: 7.07 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.000956/0.2346, allocations: 289.3 kB / 0.7217 GB, free: 6.781 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.391e-05/0.2347, allocations: 77.11 kB / 0.7218 GB, free: 6.688 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001754/0.2349, allocations: 162.2 kB / 0.722 GB, free: 6.516 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.889e-05/0.2349, allocations: 29.7 kB / 0.722 GB, free: 6.48 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.292e-05/0.235, allocations: 104.1 kB / 0.7221 GB, free: 6.375 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.424e-05/0.235, allocations: 35.72 kB / 0.7221 GB, free: 6.34 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.242e-05/0.2351, allocations: 17.72 kB / 0.7221 GB, free: 6.316 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001838/0.2353, allocations: 326.8 kB / 0.7224 GB, free: 5.988 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002682/0.2355, allocations: 79.92 kB / 0.7225 GB, free: 5.91 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002714/0.2358, allocations: 93.58 kB / 0.7226 GB, free: 5.812 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005304/0.2363, allocations: 177.9 kB / 0.7228 GB, free: 5.633 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.2363, allocations: 0 / 0.7228 GB, free: 5.633 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005862/0.2369, allocations: 209.4 kB / 0.723 GB, free: 5.422 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.237, allocations: 4 kB / 0.723 GB, free: 5.418 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.237, allocations: 0 / 0.723 GB, free: 5.418 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.237, allocations: 11.94 kB / 0.723 GB, free: 5.406 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002382/0.2372, allocations: 35.89 kB / 0.723 GB, free: 5.371 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.2372, allocations: 4 kB / 0.723 GB, free: 5.367 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001383/0.2374, allocations: 23.97 kB / 0.7231 GB, free: 5.344 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.393e-05/0.2374, allocations: 4 kB / 0.7231 GB, free: 5.34 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.0001269/0.2375, allocations: 129.8 kB / 0.7232 GB, free: 5.203 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.924e-05/0.2376, allocations: 15.95 kB / 0.7232 GB, free: 5.188 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.077e-05/0.2376, allocations: 24.33 kB / 0.7232 GB, free: 5.16 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.2376, allocations: 0 / 0.7232 GB, free: 5.16 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.2376, allocations: 0 / 0.7232 GB, free: 5.16 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.259e-06/0.2376, allocations: 4 kB / 0.7232 GB, free: 5.156 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003085/0.2379, allocations: 188.5 kB / 0.7234 GB, free: 4.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.2379, allocations: 3.984 kB / 0.7234 GB, free: 4.926 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001999/0.2381, allocations: 35.97 kB / 0.7234 GB, free: 4.891 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.2381, allocations: 0 / 0.7234 GB, free: 4.891 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.2382, allocations: 0 / 0.7234 GB, free: 4.891 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.051e-06/0.2382, allocations: 7.938 kB / 0.7234 GB, free: 4.883 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.2382, allocations: 7.984 kB / 0.7235 GB, free: 4.875 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006746/0.2388, allocations: 374.6 kB / 0.7238 GB, free: 4.492 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.313e-05/0.2389, allocations: 15.91 kB / 0.7238 GB, free: 4.477 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.935e-05/0.2389, allocations: 0 / 0.7238 GB, free: 4.477 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002162/0.2391, allocations: 27.95 kB / 0.7239 GB, free: 4.449 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.55e-05/0.2392, allocations: 11.98 kB / 0.7239 GB, free: 4.438 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.157e-06/0.2392, allocations: 4 kB / 0.7239 GB, free: 4.434 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000102/0.2393, allocations: 119.2 kB / 0.724 GB, free: 4.316 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8e-08/0.2393, allocations: 0 / 0.724 GB, free: 4.316 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000269/0.2395, allocations: 16 kB / 0.724 GB, free: 4.301 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.00103/0.2406, allocations: 0.9068 MB / 0.7249 GB, free: 3.367 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006097/0.2412, allocations: 167.8 kB / 0.725 GB, free: 3.203 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2412, allocations: 0 / 0.725 GB, free: 3.203 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002825/0.2415, allocations: 95.84 kB / 0.7251 GB, free: 3.109 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003762/0.2418, allocations: 18.28 kB / 0.7252 GB, free: 3.094 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003392/0.2452, allocations: 1.971 MB / 0.7271 GB, free: 1.031 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001211/0.2454, allocations: 100.3 kB / 0.7272 GB, free: 0.9141 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 9.189e-05/0.2454, allocations: 27.91 kB / 0.7272 GB, free: 0.8867 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.786e-05/0.2455, allocations: 36.48 kB / 0.7272 GB, free: 0.8516 MB / 0.6198 GB Notification: Performance of SimCode: time 3.81e-07/0.2455, allocations: 0 / 0.7272 GB, free: 0.8516 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03298/0.2785, allocations: 3.401 MB / 0.7306 GB, free: 13.57 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.45, allocations: 7.938 kB / 0.7306 GB, free: 13.56 MB / 0.6355 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_MatrixGain_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_MatrixGain.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.51878491100797] Failed to read output from testmodel.py, exit status != 0: 11.552483181993011 11.578470096 11.345489038 Calling exit ...