Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.DC.Sources.Examples.VoltageSource.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.001067/0.001067, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.001066/0.001066, allocations: 212.1 kB / 22.25 MB, free: 3.727 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.9771/0.9771, allocations: 230.6 MB / 256 MB, free: 9.586 MB / 202.7 MB " [Timeout remaining time 179] 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 0.7633/0.7633, allocations: 203.5 MB / 0.5039 GB, free: 10.72 MB / 410.7 MB " [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.Electrical.DC.Sources.Examples.VoltageSource,fileNamePrefix="IDEAS_IDEAS_Electrical_DC_Sources_Examples_VoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.DC.Sources.Examples.VoltageSource,fileNamePrefix="IDEAS_IDEAS_Electrical_DC_Sources_Examples_VoltageSource",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.0009113/0.0009113, allocations: 71.86 kB / 0.7178 GB, free: 4.43 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4939/0.4948, allocations: 102 MB / 0.8174 GB, free: 1.234 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Sources.Examples.VoltageSource): time 0.003466/0.4983, allocations: 3.182 MB / 0.8205 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001581/0.4999, allocations: 1.396 MB / 0.8218 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001133/0.5, allocations: 9.438 kB / 0.8218 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0007314/0.5007, allocations: 333.5 kB / 0.8222 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002602/0.501, allocations: 155.2 kB / 0.8223 GB, free: 14 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002163/0.5012, allocations: 166.7 kB / 0.8225 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002916/0.5015, allocations: 332.5 kB / 0.8228 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003287/0.5018, allocations: 197.4 kB / 0.823 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001868/0.502, allocations: 147.2 kB / 0.8231 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002077/0.5022, allocations: 143.7 kB / 0.8233 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.857e-05/0.5022, allocations: 19.19 kB / 0.8233 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002105/0.5024, allocations: 159 kB / 0.8234 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.719e-05/0.5025, allocations: 83.73 kB / 0.8235 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.812e-05/0.5026, allocations: 113 kB / 0.8236 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004238/0.503, allocations: 361 kB / 0.824 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.503, allocations: 1.219 kB / 0.824 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.014e-06/0.503, allocations: 0 / 0.824 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.225e-06/0.5031, allocations: 0 / 0.824 GB, free: 13.28 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0006873/0.5037, allocations: 487.5 kB / 0.8244 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.5038, allocations: 10.75 kB / 0.8244 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.16e-05/0.5038, allocations: 59.12 kB / 0.8245 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000394/0.5042, allocations: 97.41 kB / 0.8246 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002455/0.5045, allocations: 201.2 kB / 0.8248 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.5045, allocations: 12.72 kB / 0.8248 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.3e-05/0.5045, allocations: 20.59 kB / 0.8248 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004128/0.5049, allocations: 395.1 kB / 0.8252 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.5049, allocations: 5.5 kB / 0.8252 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.122e-05/0.505, allocations: 10.59 kB / 0.8252 GB, free: 12.35 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.727e-05/0.505, allocations: 15.64 kB / 0.8252 GB, free: 12.35 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002657/0.5053, allocations: 213.7 kB / 0.8254 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009754/0.5062, allocations: 1.063 MB / 0.8265 GB, free: 11.42 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002759/0.5065, allocations: 128.8 kB / 0.8266 GB, free: 11.36 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.005e-05/0.5066, allocations: 37.84 kB / 0.8266 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.18e-05/0.5066, allocations: 4 kB / 0.8266 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.103e-05/0.5066, allocations: 33.58 kB / 0.8266 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 1.062e-06/0.5066, allocations: 0 / 0.8266 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0003742/0.507, allocations: 189.6 kB / 0.8268 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.548e-05/0.507, allocations: 53.78 kB / 0.8269 GB, free: 11.15 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001568/0.5072, allocations: 217.4 kB / 0.8271 GB, free: 11 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.543e-05/0.5072, allocations: 33.48 kB / 0.8271 GB, free: 10.97 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.272e-05/0.5073, allocations: 172 kB / 0.8273 GB, free: 10.82 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.621e-05/0.5073, allocations: 30.89 kB / 0.8273 GB, free: 10.8 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.409e-05/0.5073, allocations: 41.45 kB / 0.8274 GB, free: 10.77 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.958e-05/0.5074, allocations: 326.4 kB / 0.8277 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.64e-05/0.5075, allocations: 46.92 kB / 0.8277 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.678e-05/0.5076, allocations: 119.2 kB / 0.8278 GB, free: 10.32 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001651/0.5077, allocations: 168.3 kB / 0.828 GB, free: 10.2 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.5077, allocations: 1.281 kB / 0.828 GB, free: 10.2 MB / 0.6198 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002569/0.508, allocations: 209.7 kB / 0.8282 GB, free: 10.09 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.508, allocations: 5.969 kB / 0.8282 GB, free: 10.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-06/0.508, allocations: 3.453 kB / 0.8282 GB, free: 10.09 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001371/0.5082, allocations: 39.5 kB / 0.8282 GB, free: 10.07 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.67e-05/0.5082, allocations: 32.39 kB / 0.8283 GB, free: 10.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007735/0.509, allocations: 1.314 MB / 0.8295 GB, free: 8.777 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.308e-05/0.5091, allocations: 23.86 kB / 0.8296 GB, free: 8.762 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.085e-05/0.5091, allocations: 6.625 kB / 0.8296 GB, free: 8.762 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001041/0.5092, allocations: 156.8 kB / 0.8297 GB, free: 8.621 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.949e-05/0.5092, allocations: 16.25 kB / 0.8297 GB, free: 8.613 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.136e-05/0.5092, allocations: 19.94 kB / 0.8298 GB, free: 8.598 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.5093, allocations: 1.219 kB / 0.8298 GB, free: 8.598 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.045e-06/0.5093, allocations: 1.562 kB / 0.8298 GB, free: 8.598 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.5093, allocations: 0.7031 kB / 0.8298 GB, free: 8.598 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004184/0.5097, allocations: 444.7 kB / 0.8302 GB, free: 8.258 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.5097, allocations: 0 / 0.8302 GB, free: 8.258 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.71e-05/0.5097, allocations: 14.81 kB / 0.8302 GB, free: 8.254 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.848e-05/0.5098, allocations: 30.02 kB / 0.8302 GB, free: 8.238 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.5098, allocations: 0 / 0.8302 GB, free: 8.238 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006715/0.5105, allocations: 1.315 MB / 0.8315 GB, free: 6.949 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.5105, allocations: 3.984 kB / 0.8315 GB, free: 6.945 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001977/0.5107, allocations: 247.4 kB / 0.8318 GB, free: 6.758 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.144e-05/0.5107, allocations: 26.92 kB / 0.8318 GB, free: 6.742 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.126e-05/0.5107, allocations: 1.406 kB / 0.8318 GB, free: 6.742 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.414e-05/0.5108, allocations: 5.844 kB / 0.8318 GB, free: 6.742 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.775e-05/0.5108, allocations: 18.78 kB / 0.8318 GB, free: 6.73 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.741e-06/0.5108, allocations: 1.219 kB / 0.8318 GB, free: 6.73 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001076/0.5109, allocations: 153.2 kB / 0.8319 GB, free: 6.629 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4e-08/0.5109, allocations: 1.125 kB / 0.8319 GB, free: 6.629 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002226/0.5111, allocations: 55.05 kB / 0.832 GB, free: 6.617 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005064/0.5116, allocations: 0.7646 MB / 0.8327 GB, free: 5.91 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003964/0.512, allocations: 223.6 kB / 0.833 GB, free: 5.766 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.512, allocations: 0.5625 kB / 0.833 GB, free: 5.766 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001533/0.5122, allocations: 158.8 kB / 0.8331 GB, free: 5.641 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002848/0.5125, allocations: 43.91 kB / 0.8332 GB, free: 5.625 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002066/0.5146, allocations: 2.167 MB / 0.8353 GB, free: 3.957 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001324/0.5147, allocations: 143.8 kB / 0.8354 GB, free: 3.871 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.306e-05/0.5148, allocations: 31.62 kB / 0.8354 GB, free: 3.863 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.745e-05/0.5148, allocations: 61.45 kB / 0.8355 GB, free: 3.816 MB / 0.6198 GB Notification: Performance of SimCode: time 4.31e-07/0.5148, allocations: 0 / 0.8355 GB, free: 3.816 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01917/0.534, allocations: 4.686 MB / 0.8401 GB, free: 2.621 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.629/7.163, allocations: 7.938 kB / 0.8401 GB, free: 2.621 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo IDEAS_IDEAS.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/IDEAS_IDEAS.Electrical.DC.Sources.Examples.VoltageSource.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Electrical.DC.Sources.Examples.VoltageSource_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Electrical_DC_Sources_Examples_VoltageSource.fmu > IDEAS_IDEAS.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.164597756229341] Failed to read output from testmodel.py, exit status != 0: 7.24175931699574 7.252089614 6.746785647 Calling exit ...