Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0008375/0.0008375, allocations: 105.9 kB / 18.93 MB, free: 1.27 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.001081/0.001081, allocations: 219.1 kB / 22.26 MB, free: 3.699 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 0.9218/0.9218, allocations: 230.6 MB / 256 MB, free: 9.797 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7996/0.7996, allocations: 203.8 MB / 0.5042 GB, free: 10.71 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_MatrixGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixGain,fileNamePrefix="IDEAS_dev_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.0009436/0.0009436, allocations: 64.41 kB / 0.7183 GB, free: 4.27 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5086/0.5095, allocations: 102 MB / 0.8179 GB, free: 1.242 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.001907/0.5114, allocations: 0.7719 MB / 0.8187 GB, free: 0.7383 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007206/0.5121, allocations: 0.8587 MB / 0.8195 GB, free: 92 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.358e-05/0.5122, allocations: 1.156 kB / 0.8195 GB, free: 92 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001888/0.5124, allocations: 53.3 kB / 0.8195 GB, free: 84 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.371e-05/0.5124, allocations: 44.48 kB / 0.8196 GB, free: 64 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 7.453e-05/0.5125, allocations: 18.78 kB / 0.8196 GB, free: 56 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001146/0.5126, allocations: 93.19 kB / 0.8197 GB, free: 16 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001244/0.5127, allocations: 11 kB / 0.8197 GB, free: 12 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.809e-05/0.5128, allocations: 42.83 kB / 0.8198 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001395/0.513, allocations: 93.14 kB / 0.8198 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.046e-05/0.513, allocations: 6.531 kB / 0.8198 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.347e-05/0.513, allocations: 7.688 kB / 0.8199 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.978e-05/0.5131, allocations: 42.52 kB / 0.8199 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.093e-05/0.5131, allocations: 42.94 kB / 0.8199 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001798/0.5133, allocations: 124.1 kB / 0.8201 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.5133, allocations: 0 / 0.8201 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.205e-06/0.5133, allocations: 0 / 0.8201 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.653e-06/0.5133, allocations: 3.938 kB / 0.8201 GB, free: 15.87 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.002328/0.5156, allocations: 387.5 kB / 0.8204 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.59e-05/0.5157, allocations: 13.84 kB / 0.8204 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.004e-05/0.5157, allocations: 38.06 kB / 0.8205 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.808e-05/0.5158, allocations: 14.91 kB / 0.8205 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000219/0.516, allocations: 147.5 kB / 0.8206 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.516, allocations: 2.375 kB / 0.8206 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.837e-05/0.516, allocations: 10.77 kB / 0.8206 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003904/0.5164, allocations: 149.4 kB / 0.8208 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.5164, allocations: 8.391 kB / 0.8208 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.5164, allocations: 1.062 kB / 0.8208 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.5165, allocations: 1.219 kB / 0.8208 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003209/0.5168, allocations: 172.9 kB / 0.821 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006032/0.5174, allocations: 486.1 kB / 0.8214 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00026/0.5176, allocations: 155.8 kB / 0.8216 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001476/0.5178, allocations: 95.92 kB / 0.8217 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.381e-05/0.5178, allocations: 2.719 kB / 0.8217 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.224e-05/0.5178, allocations: 36.48 kB / 0.8217 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 1.323e-06/0.5178, allocations: 0 / 0.8217 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0005156/0.5183, allocations: 289.1 kB / 0.822 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.208e-05/0.5184, allocations: 77.86 kB / 0.8221 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001116/0.5185, allocations: 160.9 kB / 0.8222 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.525e-05/0.5185, allocations: 29.7 kB / 0.8222 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.408e-05/0.5186, allocations: 104 kB / 0.8223 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.041e-05/0.5186, allocations: 34.19 kB / 0.8224 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.633e-05/0.5186, allocations: 19.83 kB / 0.8224 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.988e-05/0.5187, allocations: 326.2 kB / 0.8227 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001401/0.5189, allocations: 77.66 kB / 0.8228 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001485/0.519, allocations: 95.59 kB / 0.8229 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002923/0.5193, allocations: 176.6 kB / 0.823 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.5193, allocations: 0 / 0.823 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003593/0.5197, allocations: 208.6 kB / 0.8232 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.5197, allocations: 7.812 kB / 0.8232 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.5197, allocations: 0.7031 kB / 0.8232 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.5197, allocations: 1.344 kB / 0.8232 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001394/0.5198, allocations: 38 kB / 0.8233 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.914e-06/0.5198, allocations: 4.562 kB / 0.8233 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.553e-05/0.5199, allocations: 28.42 kB / 0.8233 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.5199, allocations: 2.594 kB / 0.8233 GB, free: 13.75 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 9.135e-05/0.52, allocations: 127.3 kB / 0.8234 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.963e-05/0.52, allocations: 10.09 kB / 0.8234 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.912e-05/0.5201, allocations: 26.19 kB / 0.8235 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.5201, allocations: 5.531 kB / 0.8235 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.5201, allocations: 1.531 kB / 0.8235 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.5201, allocations: 8.656 kB / 0.8235 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002481/0.5203, allocations: 198.9 kB / 0.8237 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.5204, allocations: 0 / 0.8237 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.812e-05/0.5204, allocations: 34.59 kB / 0.8237 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.5205, allocations: 1.438 kB / 0.8237 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.407e-06/0.5205, allocations: 0 / 0.8237 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.5205, allocations: 5.844 kB / 0.8237 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.5205, allocations: 1.312 kB / 0.8237 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004242/0.5209, allocations: 382 kB / 0.8241 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.373e-05/0.5209, allocations: 17.25 kB / 0.8241 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.374e-05/0.5209, allocations: 1.375 kB / 0.8241 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/0.521, allocations: 30.5 kB / 0.8241 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.318e-05/0.5211, allocations: 8.719 kB / 0.8241 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.212e-06/0.5211, allocations: 5.312 kB / 0.8241 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 9.916e-05/0.5212, allocations: 123.7 kB / 0.8243 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5212, allocations: 0 / 0.8243 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001918/0.5214, allocations: 20.5 kB / 0.8243 GB, free: 13.04 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.000635/0.522, allocations: 0.9031 MB / 0.8252 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003765/0.5224, allocations: 171 kB / 0.8253 GB, free: 12.24 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.5224, allocations: 0 / 0.8253 GB, free: 12.24 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001675/0.5226, allocations: 91.98 kB / 0.8254 GB, free: 12.22 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002788/0.5228, allocations: 15.2 kB / 0.8254 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002294/0.5251, allocations: 1.974 MB / 0.8273 GB, free: 10.74 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002894/0.5254, allocations: 0.7137 MB / 0.828 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.694e-05/0.5255, allocations: 32.77 kB / 0.8281 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.745e-05/0.5256, allocations: 31.84 kB / 0.8281 GB, free: 10.01 MB / 0.6198 GB Notification: Performance of SimCode: time 7.81e-07/0.5256, allocations: 0 / 0.8281 GB, free: 10.01 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01703/0.5426, allocations: 2.836 MB / 0.8309 GB, free: 9.504 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.911/7.454, allocations: 5.438 kB / 0.8309 GB, free: 9.504 MB / 0.6198 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixGain.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_MatrixGain.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.41156733292155] Failed to read output from testmodel.py, exit status != 0: 7.5298301400616765 7.545539291 7.02985529 Calling exit ...