Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.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.0008386/0.0008386, allocations: 109.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.0008894/0.0008894, allocations: 217.7 kB / 22.26 MB, free: 3.703 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.965/0.965, allocations: 230.6 MB / 256 MB, free: 9.805 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.8142/0.8142, allocations: 203.8 MB / 0.5042 GB, free: 10.73 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.Line,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Line",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Line,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Line",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.000902/0.000902, allocations: 67.36 kB / 0.7183 GB, free: 4.266 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5213/0.5222, allocations: 102 MB / 0.8179 GB, free: 1.246 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Line): time 0.00186/0.5241, allocations: 0.9017 MB / 0.8188 GB, free: 0.6445 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001067/0.5252, allocations: 0.9184 MB / 0.8197 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001147/0.5253, allocations: 6.656 kB / 0.8197 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 4.621e-05/0.5253, allocations: 13.78 kB / 0.8197 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001028/0.5254, allocations: 14.27 kB / 0.8197 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000256/0.5257, allocations: 64.59 kB / 0.8198 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002058/0.5259, allocations: 139.9 kB / 0.8199 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001614/0.526, allocations: 58.09 kB / 0.82 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.452e-05/0.5261, allocations: 49.31 kB / 0.82 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.876e-05/0.5262, allocations: 66.22 kB / 0.8201 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.573e-05/0.5262, allocations: 18.03 kB / 0.8201 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.714e-05/0.5263, allocations: 14.88 kB / 0.8201 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.444e-05/0.5263, allocations: 28.05 kB / 0.8201 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.577e-05/0.5263, allocations: 61.09 kB / 0.8202 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001898/0.5265, allocations: 137.8 kB / 0.8203 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.5265, allocations: 0 / 0.8203 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.174e-06/0.5265, allocations: 3.656 kB / 0.8203 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.5265, allocations: 0 / 0.8203 GB, free: 15.61 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0004888/0.527, allocations: 372 kB / 0.8207 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/0.5271, allocations: 14.38 kB / 0.8207 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.172e-05/0.5271, allocations: 49.53 kB / 0.8207 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.653e-05/0.5272, allocations: 14.62 kB / 0.8208 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000272/0.5274, allocations: 151.7 kB / 0.8209 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.5275, allocations: 13.66 kB / 0.8209 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.831e-05/0.5275, allocations: 15.38 kB / 0.8209 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003055/0.5278, allocations: 148.5 kB / 0.8211 GB, free: 15 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.5278, allocations: 3.938 kB / 0.8211 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.187e-05/0.5278, allocations: 8.297 kB / 0.8211 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.358e-06/0.5278, allocations: 3.5 kB / 0.8211 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002189/0.528, allocations: 121.8 kB / 0.8212 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007989/0.5288, allocations: 473.4 kB / 0.8217 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001761/0.529, allocations: 84.34 kB / 0.8217 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.367e-05/0.5291, allocations: 43.23 kB / 0.8218 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.404e-05/0.5291, allocations: 0.6094 kB / 0.8218 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.006e-05/0.5292, allocations: 32.12 kB / 0.8218 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 1.583e-06/0.5292, allocations: 4 kB / 0.8218 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0003949/0.5296, allocations: 159.8 kB / 0.822 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.396e-05/0.5296, allocations: 51.41 kB / 0.822 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001679/0.5298, allocations: 194.4 kB / 0.8222 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.742e-05/0.5298, allocations: 26.78 kB / 0.8222 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.971e-05/0.5299, allocations: 114.5 kB / 0.8223 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.217e-05/0.5299, allocations: 38.02 kB / 0.8224 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.666e-05/0.5299, allocations: 28.28 kB / 0.8224 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.222e-05/0.53, allocations: 332.7 kB / 0.8227 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.153e-05/0.5301, allocations: 34.94 kB / 0.8227 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.436e-05/0.5302, allocations: 46.59 kB / 0.8228 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00015/0.5303, allocations: 95.17 kB / 0.8229 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.5303, allocations: 3.938 kB / 0.8229 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001987/0.5305, allocations: 144.3 kB / 0.823 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.5305, allocations: 4.781 kB / 0.823 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.5305, allocations: 1.125 kB / 0.823 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.5305, allocations: 5.031 kB / 0.823 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/0.5306, allocations: 29.08 kB / 0.8231 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.5307, allocations: 0 / 0.8231 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.051e-05/0.5307, allocations: 30.52 kB / 0.8231 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.5307, allocations: 3.656 kB / 0.8231 GB, free: 13.55 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (13): * Single equations (assignments): 13 * 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 7.179e-05/0.5308, allocations: 123 kB / 0.8232 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.083e-05/0.5308, allocations: 16.41 kB / 0.8232 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002191/0.531, allocations: 137.8 kB / 0.8234 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.531, allocations: 0 / 0.8234 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.531, allocations: 0 / 0.8234 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.531, allocations: 4 kB / 0.8234 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003876/0.5314, allocations: 428.9 kB / 0.8238 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.5314, allocations: 1.344 kB / 0.8238 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.652e-05/0.5315, allocations: 20.45 kB / 0.8238 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.538e-06/0.5315, allocations: 2.25 kB / 0.8238 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.5315, allocations: 10.27 kB / 0.8238 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.5315, allocations: 1.375 kB / 0.8238 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.5315, allocations: 1.375 kB / 0.8238 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002251/0.5317, allocations: 246.1 kB / 0.824 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.581e-05/0.5318, allocations: 18.53 kB / 0.8241 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.757e-05/0.5318, allocations: 2.797 kB / 0.8241 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.713e-05/0.5319, allocations: 22 kB / 0.8241 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.659e-05/0.5319, allocations: 11.2 kB / 0.8241 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-06/0.5319, allocations: 4.188 kB / 0.8241 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001025/0.532, allocations: 150.5 kB / 0.8242 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.532, allocations: 0 / 0.8242 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001824/0.5322, allocations: 26.62 kB / 0.8243 GB, free: 12.65 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (10): * Single equations (assignments): 10 * 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.0007127/0.5329, allocations: 0.7768 MB / 0.825 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002466/0.5332, allocations: 93.94 kB / 0.8251 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.5332, allocations: 0 / 0.8251 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.258e-05/0.5333, allocations: 44.55 kB / 0.8252 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002441/0.5335, allocations: 22.45 kB / 0.8252 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001682/0.5352, allocations: 1.902 MB / 0.827 GB, free: 10.4 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000216/0.5354, allocations: 0.7055 MB / 0.8277 GB, free: 9.703 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.146e-05/0.5354, allocations: 12.7 kB / 0.8277 GB, free: 9.703 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.211e-05/0.5355, allocations: 40.06 kB / 0.8278 GB, free: 9.676 MB / 0.6198 GB Notification: Performance of SimCode: time 1.413e-06/0.5355, allocations: 0 / 0.8278 GB, free: 9.676 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0203/0.5558, allocations: 2.971 MB / 0.8307 GB, free: 9.156 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.728/7.284, allocations: 12.72 kB / 0.8307 GB, free: 9.152 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Line_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_Line.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.31757441512309] Failed to read output from testmodel.py, exit status != 0: 7.361944275908172 7.373619777 6.84468742 Calling exit ...