Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0009358/0.0009358, allocations: 109.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.0009281/0.0009281, allocations: 216 kB / 22.25 MB, free: 3.73 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.9518/0.9518, allocations: 230.6 MB / 256 MB, free: 9.629 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.7647/0.7647, allocations: 203.8 MB / 0.5042 GB, free: 10.44 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.Electrical.DC.Sources.Examples.VoltageSource,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_DC_Sources_Examples_VoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.DC.Sources.Examples.VoltageSource,fileNamePrefix="IDEAS_dev_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.0009439/0.0009439, allocations: 62.25 kB / 0.7181 GB, free: 4.074 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4879/0.4889, allocations: 102 MB / 0.8178 GB, free: 1.043 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Sources.Examples.VoltageSource): time 0.003439/0.4923, allocations: 3.197 MB / 0.8209 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001515/0.4938, allocations: 1.397 MB / 0.8223 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.993e-05/0.4939, allocations: 8.781 kB / 0.8223 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0006351/0.4946, allocations: 337.7 kB / 0.8226 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002342/0.4948, allocations: 149.7 kB / 0.8227 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002579/0.4951, allocations: 164.8 kB / 0.8229 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000325/0.4954, allocations: 335.2 kB / 0.8232 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003673/0.4958, allocations: 194.1 kB / 0.8234 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002071/0.496, allocations: 150.5 kB / 0.8235 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002169/0.4962, allocations: 148.5 kB / 0.8237 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.625e-05/0.4962, allocations: 20.31 kB / 0.8237 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001877/0.4964, allocations: 157 kB / 0.8238 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.41e-05/0.4965, allocations: 89.23 kB / 0.8239 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.578e-05/0.4966, allocations: 100.2 kB / 0.824 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003789/0.497, allocations: 370 kB / 0.8244 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.497, allocations: 0 / 0.8244 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.844e-06/0.497, allocations: 0 / 0.8244 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.702e-06/0.497, allocations: 0 / 0.8244 GB, free: 13.07 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.000647/0.4976, allocations: 482.8 kB / 0.8248 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.4977, allocations: 6.625 kB / 0.8248 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.591e-05/0.4977, allocations: 64.2 kB / 0.8249 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003859/0.4981, allocations: 93.97 kB / 0.825 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002284/0.4983, allocations: 199.6 kB / 0.8252 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.4983, allocations: 21.33 kB / 0.8252 GB, free: 12.42 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.488e-05/0.4984, allocations: 26.14 kB / 0.8252 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003957/0.4987, allocations: 393.1 kB / 0.8256 GB, free: 12.15 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.4988, allocations: 5.609 kB / 0.8256 GB, free: 12.15 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.927e-05/0.4988, allocations: 10.53 kB / 0.8256 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.806e-05/0.4988, allocations: 17.53 kB / 0.8256 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002471/0.4991, allocations: 214.3 kB / 0.8258 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009339/0.5, allocations: 1.064 MB / 0.8269 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002669/0.5003, allocations: 117.9 kB / 0.827 GB, free: 11.15 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.824e-05/0.5003, allocations: 41.59 kB / 0.827 GB, free: 11.13 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.192e-05/0.5003, allocations: 1.75 kB / 0.827 GB, free: 11.13 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.973e-05/0.5003, allocations: 37.44 kB / 0.8271 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 1.173e-06/0.5003, allocations: 0 / 0.8271 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0003644/0.5007, allocations: 184.6 kB / 0.8272 GB, free: 11 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.369e-05/0.5007, allocations: 57.64 kB / 0.8273 GB, free: 10.94 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001493/0.5009, allocations: 220.1 kB / 0.8275 GB, free: 10.79 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.316e-05/0.5009, allocations: 26.92 kB / 0.8275 GB, free: 10.76 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.726e-05/0.501, allocations: 177.1 kB / 0.8277 GB, free: 10.61 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.764e-05/0.501, allocations: 30.92 kB / 0.8277 GB, free: 10.58 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.29e-05/0.501, allocations: 41.28 kB / 0.8278 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.86e-05/0.5011, allocations: 324.3 kB / 0.8281 GB, free: 10.23 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.199e-05/0.5012, allocations: 47.34 kB / 0.8281 GB, free: 10.22 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.755e-05/0.5013, allocations: 113.9 kB / 0.8282 GB, free: 10.12 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001611/0.5014, allocations: 170.4 kB / 0.8284 GB, free: 9.988 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.5014, allocations: 1.188 kB / 0.8284 GB, free: 9.988 MB / 0.6198 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002349/0.5017, allocations: 208.4 kB / 0.8286 GB, free: 9.887 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.5017, allocations: 6.625 kB / 0.8286 GB, free: 9.887 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.5017, allocations: 3.297 kB / 0.8286 GB, free: 9.887 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001181/0.5018, allocations: 35.06 kB / 0.8286 GB, free: 9.867 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.549e-05/0.5019, allocations: 28.95 kB / 0.8287 GB, free: 9.867 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007603/0.5026, allocations: 1.322 MB / 0.83 GB, free: 8.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.916e-05/0.5027, allocations: 24 kB / 0.83 GB, free: 8.555 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.748e-06/0.5027, allocations: 9.938 kB / 0.83 GB, free: 8.551 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.0001012/0.5028, allocations: 160.7 kB / 0.8301 GB, free: 8.406 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.408e-05/0.5028, allocations: 16.33 kB / 0.8302 GB, free: 8.398 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.903e-05/0.5029, allocations: 20.12 kB / 0.8302 GB, free: 8.387 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.5029, allocations: 1.922 kB / 0.8302 GB, free: 8.387 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.924e-06/0.5029, allocations: 0 / 0.8302 GB, free: 8.387 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.5029, allocations: 2.125 kB / 0.8302 GB, free: 8.387 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004162/0.5033, allocations: 448.2 kB / 0.8306 GB, free: 8.043 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.5033, allocations: 0.6562 kB / 0.8306 GB, free: 8.043 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.777e-05/0.5033, allocations: 14.41 kB / 0.8306 GB, free: 8.039 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.5e-05/0.5034, allocations: 24.3 kB / 0.8307 GB, free: 8.027 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.487e-06/0.5034, allocations: 1.594 kB / 0.8307 GB, free: 8.027 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006223/0.504, allocations: 1.311 MB / 0.8319 GB, free: 6.742 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.504, allocations: 0.6719 kB / 0.8319 GB, free: 6.742 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001906/0.5042, allocations: 246.4 kB / 0.8322 GB, free: 6.555 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.049e-05/0.5043, allocations: 26.78 kB / 0.8322 GB, free: 6.539 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.116e-05/0.5043, allocations: 2.047 kB / 0.8322 GB, free: 6.539 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.33e-05/0.5043, allocations: 5.469 kB / 0.8322 GB, free: 6.539 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.267e-05/0.5044, allocations: 10.5 kB / 0.8322 GB, free: 6.535 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.752e-06/0.5044, allocations: 6.219 kB / 0.8322 GB, free: 6.531 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 9.323e-05/0.5045, allocations: 153.9 kB / 0.8324 GB, free: 6.43 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5045, allocations: 1.344 kB / 0.8324 GB, free: 6.43 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002258/0.5047, allocations: 55.08 kB / 0.8324 GB, free: 6.418 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.0004329/0.5051, allocations: 0.7644 MB / 0.8332 GB, free: 5.711 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003723/0.5055, allocations: 227.5 kB / 0.8334 GB, free: 5.562 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.5055, allocations: 0.6562 kB / 0.8334 GB, free: 5.562 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001403/0.5056, allocations: 162.4 kB / 0.8335 GB, free: 5.434 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002654/0.5059, allocations: 45.55 kB / 0.8336 GB, free: 5.418 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001778/0.5077, allocations: 2.171 MB / 0.8357 GB, free: 3.738 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001213/0.5078, allocations: 143.9 kB / 0.8358 GB, free: 3.652 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.472e-05/0.5079, allocations: 28.38 kB / 0.8359 GB, free: 3.648 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.287e-05/0.508, allocations: 60.05 kB / 0.8359 GB, free: 3.602 MB / 0.6198 GB Notification: Performance of SimCode: time 4.5e-07/0.508, allocations: 1.219 kB / 0.8359 GB, free: 3.602 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01817/0.5261, allocations: 4.689 MB / 0.8405 GB, free: 2.293 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.662/7.189, allocations: 7.688 kB / 0.8405 GB, free: 2.289 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.DC.Sources.Examples.VoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_DC_Sources_Examples_VoltageSource_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_DC_Sources_Examples_VoltageSource.fmu > IDEAS_dev_IDEAS.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.018551661167294] Failed to read output from testmodel.py, exit status != 0: 7.267978794872761 7.277679612 6.778879151 Calling exit ...