Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance.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.001175/0.001175, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008948/0.0008948, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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.9187/0.9187, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.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.7166/0.7166, allocations: 154.5 MB / 413.7 MB, free: 0.832 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 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.Lines.Examples.Resistance,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_DC_Lines_Examples_Resistance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.DC.Lines.Examples.Resistance,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_DC_Lines_Examples_Resistance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 0.618 GB, free: 13.79 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.997e-05/2.184e-05, allocations: 6.328 kB / 0.618 GB, free: 13.79 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.Resistance): time 0.003492/0.003514, allocations: 3.026 MB / 0.621 GB, free: 10.74 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001442/0.004956, allocations: 1.305 MB / 0.6222 GB, free: 9.43 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.948e-05/0.005056, allocations: 7.938 kB / 0.6223 GB, free: 9.422 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0006033/0.005659, allocations: 330.7 kB / 0.6226 GB, free: 9.098 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.000226/0.005885, allocations: 155.1 kB / 0.6227 GB, free: 8.945 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001862/0.006071, allocations: 138.8 kB / 0.6229 GB, free: 8.812 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.000246/0.006317, allocations: 310.9 kB / 0.6231 GB, free: 8.508 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002948/0.006612, allocations: 192.6 kB / 0.6233 GB, free: 8.32 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001309/0.006743, allocations: 167.6 kB / 0.6235 GB, free: 8.156 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002112/0.006954, allocations: 127.6 kB / 0.6236 GB, free: 8.031 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.243e-05/0.006977, allocations: 16 kB / 0.6236 GB, free: 8.016 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001556/0.007132, allocations: 159.5 kB / 0.6238 GB, free: 7.859 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 6.271e-05/0.007195, allocations: 83.8 kB / 0.6239 GB, free: 7.777 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 5.794e-05/0.007253, allocations: 79.81 kB / 0.6239 GB, free: 7.699 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002867/0.00754, allocations: 346.9 kB / 0.6243 GB, free: 7.359 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.007542, allocations: 0 / 0.6243 GB, free: 7.359 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.122e-06/0.007543, allocations: 0 / 0.6243 GB, free: 7.359 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.007548, allocations: 0 / 0.6243 GB, free: 7.359 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0006871/0.008235, allocations: 453.5 kB / 0.6247 GB, free: 6.883 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.008272, allocations: 9.469 kB / 0.6247 GB, free: 6.875 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.203e-05/0.008314, allocations: 54.73 kB / 0.6248 GB, free: 6.812 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003205/0.008635, allocations: 80.72 kB / 0.6248 GB, free: 6.734 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002144/0.008849, allocations: 187.5 kB / 0.625 GB, free: 6.527 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.008862, allocations: 12.75 kB / 0.625 GB, free: 6.516 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.991e-05/0.008882, allocations: 20.38 kB / 0.625 GB, free: 6.496 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003224/0.009204, allocations: 377.3 kB / 0.6254 GB, free: 6.09 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.158e-06/0.009214, allocations: 192 / 0.6254 GB, free: 6.09 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.874e-05/0.009232, allocations: 20.06 kB / 0.6254 GB, free: 6.07 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.42e-05/0.009256, allocations: 16.38 kB / 0.6254 GB, free: 6.055 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002058/0.009462, allocations: 200.9 kB / 0.6256 GB, free: 5.859 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001433/0.0109, allocations: 1.031 MB / 0.6266 GB, free: 4.754 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002291/0.01112, allocations: 90.59 kB / 0.6267 GB, free: 4.656 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.733e-05/0.01117, allocations: 40.78 kB / 0.6268 GB, free: 4.613 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 9.187e-06/0.01118, allocations: 0 / 0.6268 GB, free: 4.613 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.394e-05/0.0112, allocations: 34.56 kB / 0.6268 GB, free: 4.57 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 1.393e-06/0.01121, allocations: 0 / 0.6268 GB, free: 4.57 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0003948/0.0116, allocations: 150.3 kB / 0.6269 GB, free: 4.414 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.302e-05/0.01163, allocations: 51.41 kB / 0.627 GB, free: 4.352 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001572/0.01179, allocations: 203.6 kB / 0.6272 GB, free: 4.145 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.578e-05/0.01181, allocations: 25.7 kB / 0.6272 GB, free: 4.113 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 8.312e-05/0.01189, allocations: 164 kB / 0.6274 GB, free: 3.949 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.538e-05/0.01191, allocations: 31.78 kB / 0.6274 GB, free: 3.918 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.828e-05/0.01195, allocations: 37.67 kB / 0.6274 GB, free: 3.875 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.343e-05/0.01205, allocations: 326.8 kB / 0.6277 GB, free: 3.547 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.162e-05/0.0121, allocations: 39.97 kB / 0.6278 GB, free: 3.508 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.555e-05/0.01217, allocations: 102.6 kB / 0.6279 GB, free: 3.379 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001396/0.01231, allocations: 156.6 kB / 0.628 GB, free: 3.195 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.01232, allocations: 0 / 0.628 GB, free: 3.195 MB / 0.5886 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002473/0.01257, allocations: 190.2 kB / 0.6282 GB, free: 3 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.01258, allocations: 4 kB / 0.6282 GB, free: 2.996 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.01259, allocations: 4.281 kB / 0.6282 GB, free: 2.992 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001606/0.01275, allocations: 28.84 kB / 0.6282 GB, free: 2.961 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.959e-05/0.01283, allocations: 31.92 kB / 0.6283 GB, free: 2.93 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008928/0.01372, allocations: 1.311 MB / 0.6296 GB, free: 1.504 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.17e-05/0.01381, allocations: 15.89 kB / 0.6296 GB, free: 1.488 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/0.01383, allocations: 11.98 kB / 0.6296 GB, free: 1.477 MB / 0.5886 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 (17): * Single equations (assignments): 16 * 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.0001194/0.01394, allocations: 150.9 kB / 0.6297 GB, free: 1.32 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.629e-05/0.01397, allocations: 19.84 kB / 0.6297 GB, free: 1.301 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.864e-05/0.01399, allocations: 13.47 kB / 0.6298 GB, free: 1.285 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.01399, allocations: 7.922 kB / 0.6298 GB, free: 1.277 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.014, allocations: 48 / 0.6298 GB, free: 1.277 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.014, allocations: 4.078 kB / 0.6298 GB, free: 1.273 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003937/0.01439, allocations: 406.6 kB / 0.6302 GB, free: 0.8242 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.0144, allocations: 0 / 0.6302 GB, free: 0.8242 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.295e-05/0.01442, allocations: 7.984 kB / 0.6302 GB, free: 0.8164 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.213e-05/0.01449, allocations: 28.84 kB / 0.6302 GB, free: 0.7852 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.0145, allocations: 0 / 0.6302 GB, free: 0.7852 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007935/0.01529, allocations: 1.303 MB / 0.6315 GB, free: 15.37 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.01529, allocations: 0 / 0.6315 GB, free: 15.37 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001944/0.01549, allocations: 228.2 kB / 0.6317 GB, free: 15.12 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.155e-05/0.01553, allocations: 16.06 kB / 0.6317 GB, free: 15.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.217e-05/0.01554, allocations: 8 kB / 0.6317 GB, free: 15.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.663e-05/0.01562, allocations: 3.984 kB / 0.6317 GB, free: 15.1 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.636e-05/0.01564, allocations: 4 kB / 0.6317 GB, free: 15.09 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.067e-06/0.01565, allocations: 4 kB / 0.6317 GB, free: 15.09 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.000136/0.01579, allocations: 145.2 kB / 0.6319 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5e-08/0.01579, allocations: 0 / 0.6319 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004293/0.01622, allocations: 51.89 kB / 0.6319 GB, free: 14.9 MB / 0.6042 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 (6): * Single equations (assignments): 5 * 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.0004852/0.0167, allocations: 0.7483 MB / 0.6326 GB, free: 14.12 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003148/0.01702, allocations: 202.5 kB / 0.6328 GB, free: 13.91 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.01702, allocations: 0 / 0.6328 GB, free: 13.91 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.186e-05/0.0171, allocations: 142.7 kB / 0.633 GB, free: 13.76 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003044/0.01741, allocations: 39.81 kB / 0.633 GB, free: 13.72 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001904/0.01931, allocations: 2.047 MB / 0.635 GB, free: 11.53 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001127/0.01942, allocations: 143.7 kB / 0.6351 GB, free: 11.37 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 8.763e-05/0.01951, allocations: 25.45 kB / 0.6352 GB, free: 11.35 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.297e-05/0.01957, allocations: 56.67 kB / 0.6352 GB, free: 11.29 MB / 0.6042 GB Notification: Performance of SimCode: time 8.01e-07/0.01958, allocations: 0 / 0.6352 GB, free: 11.29 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02176/0.04134, allocations: 4.488 MB / 0.6396 GB, free: 7.008 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.109/7.15, allocations: 8 kB / 0.6396 GB, free: 7 MB / 0.6042 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_DC_Lines_Examples_Resistance_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_DC_Lines_Examples_Resistance.fmu > IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.86709594167769] Failed to read output from testmodel.py, exit status != 0: 7.235547493211925 7.246840636 7.23639049 Calling exit ...