Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized.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.001148/0.001148, 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.001305/0.001305, allocations: 169.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.9158/0.9158, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.7402/0.7402, allocations: 154.6 MB / 413.7 MB, free: 0.8203 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.DCLinesLinearized,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_DC_Lines_Examples_DCLinesLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_DC_Lines_Examples_DCLinesLinearized",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.903e-06/1.903e-06, allocations: 0 / 0.6181 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.249e-05/2.44e-05, allocations: 9.797 kB / 0.6181 GB, free: 13.69 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.0158/0.01582, allocations: 20.92 MB / 0.6385 GB, free: 8.695 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01663/0.03245, allocations: 16.66 MB / 0.6548 GB, free: 7.984 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001703/0.03415, allocations: 154.8 kB / 0.6549 GB, free: 7.832 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.005026/0.03918, allocations: 4.172 MB / 0.659 GB, free: 3.652 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.008155/0.04733, allocations: 3.697 MB / 0.6626 GB, free: 15.95 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002438/0.04977, allocations: 1.331 MB / 0.6639 GB, free: 14.63 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.005421/0.05519, allocations: 5.978 MB / 0.6697 GB, free: 8.625 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002604/0.05779, allocations: 2.838 MB / 0.6725 GB, free: 5.711 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002871/0.06067, allocations: 3.492 MB / 0.6759 GB, free: 2.211 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00208/0.06274, allocations: 2.022 MB / 0.6779 GB, free: 188 kB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.3089/0.3717, allocations: 371.2 kB / 0.6782 GB, free: 51.68 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002476/0.3742, allocations: 0.9674 MB / 0.6792 GB, free: 51.68 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0009624/0.3751, allocations: 1.268 MB / 0.6804 GB, free: 51.68 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001463/0.3766, allocations: 1.376 MB / 0.6818 GB, free: 51.68 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.003465/0.38, allocations: 5.239 MB / 0.6869 GB, free: 51.45 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.38, allocations: 0 / 0.6869 GB, free: 51.45 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.312e-06/0.38, allocations: 0 / 0.6869 GB, free: 51.45 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.857e-05/0.3801, allocations: 0 / 0.6869 GB, free: 51.45 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 635 * Number of variables: 635 Notification: Performance of Generate backend data structure: time 0.004447/0.3845, allocations: 4.613 MB / 0.6914 GB, free: 49.46 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.3846, allocations: 12.81 kB / 0.6914 GB, free: 49.46 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003233/0.3849, allocations: 362 kB / 0.6917 GB, free: 49.41 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007249/0.3921, allocations: 3.289 MB / 0.695 GB, free: 49.09 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002263/0.3944, allocations: 2.13 MB / 0.697 GB, free: 48.42 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001945/0.3946, allocations: 468.7 kB / 0.6975 GB, free: 48.1 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003003/0.3949, allocations: 239.2 kB / 0.6977 GB, free: 48.1 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005624/0.4005, allocations: 5.872 MB / 0.7035 GB, free: 46.36 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.511e-05/0.4006, allocations: 7.938 kB / 0.7035 GB, free: 46.36 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002426/0.4008, allocations: 108.8 kB / 0.7036 GB, free: 46.36 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001162/0.4009, allocations: 173.8 kB / 0.7037 GB, free: 46.35 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007253/0.4082, allocations: 5.183 MB / 0.7088 GB, free: 46.23 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01197/0.4201, allocations: 9.172 MB / 0.7177 GB, free: 42.82 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005524/0.4257, allocations: 3.255 MB / 0.7209 GB, free: 41.82 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002104/0.4278, allocations: 1.375 MB / 0.7223 GB, free: 41.41 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.942e-05/0.4279, allocations: 22.92 kB / 0.7223 GB, free: 41.4 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002716/0.4306, allocations: 2.446 MB / 0.7247 GB, free: 39.96 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=163): time 3.196e-06/0.4306, allocations: 0 / 0.7247 GB, free: 39.96 MB / 0.6355 GB Notification: Performance of matching and sorting (n=250): time 0.06307/0.4936, allocations: 27.54 MB / 0.7516 GB, free: 33.2 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000103/0.4937, allocations: 0.4894 MB / 0.752 GB, free: 32.63 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001912/0.4957, allocations: 2.313 MB / 0.7543 GB, free: 31.41 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001533/0.4958, allocations: 79.94 kB / 0.7544 GB, free: 31.34 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006354/0.4965, allocations: 1.455 MB / 0.7558 GB, free: 30.07 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.000388/0.4968, allocations: 0.8471 MB / 0.7566 GB, free: 29.34 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005087/0.4973, allocations: 418.7 kB / 0.757 GB, free: 29.11 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.671e-05/0.4974, allocations: 305.1 kB / 0.7573 GB, free: 28.8 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002652/0.5, allocations: 2.074 MB / 0.7593 GB, free: 27.66 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002775/0.5028, allocations: 2.771 MB / 0.7621 GB, free: 25.72 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005162/0.508, allocations: 4.164 MB / 0.7661 GB, free: 23.37 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.324e-06/0.508, allocations: 7.969 kB / 0.7661 GB, free: 23.36 MB / 0.6355 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.009067/0.517, allocations: 6.615 MB / 0.7726 GB, free: 17.18 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 5.551e-05/0.5171, allocations: 144.8 kB / 0.7727 GB, free: 17.01 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/0.5171, allocations: 12 kB / 0.7727 GB, free: 17 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004644/0.5217, allocations: 2.924 MB / 0.7756 GB, free: 14.08 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001229/0.523, allocations: 489.6 kB / 0.7761 GB, free: 13.62 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02023/0.5432, allocations: 18.29 MB / 0.7939 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002497/0.5457, allocations: 323.6 kB / 0.7942 GB, free: 10.88 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001775/0.5459, allocations: 87.19 kB / 0.7943 GB, free: 10.8 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 25 (varLoad5.count,$PRE.varLoad5.count,varLoad5.T_start,$PRE.varLoad5.T_start,varLoad4.count,$PRE.varLoad4.count,varLoad4.T_start,$PRE.varLoad4.T_start,varLoad3.count,$PRE.varLoad3.count,varLoad3.T_start,$PRE.varLoad3.T_start,varLoad2.count,$PRE.varLoad2.count,varLoad2.T_start,$PRE.varLoad2.T_start,varLoad1.count,$PRE.varLoad1.count,varLoad1.T_start,$PRE.varLoad1.T_start,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (162): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,52,45.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,64)} Notification: Performance of prepare postOptimizeDAE: time 0.00127/0.5471, allocations: 0.7051 MB / 0.795 GB, free: 10.1 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003711/0.5475, allocations: 357.8 kB / 0.7953 GB, free: 9.75 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003626/0.5479, allocations: 384.1 kB / 0.7957 GB, free: 9.367 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-05/0.5479, allocations: 24 kB / 0.7957 GB, free: 9.344 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.903e-05/0.5479, allocations: 8 kB / 0.7957 GB, free: 9.336 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.218e-05/0.5479, allocations: 11.95 kB / 0.7957 GB, free: 9.324 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003218/0.5512, allocations: 3.035 MB / 0.7987 GB, free: 6.309 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.072e-06/0.5512, allocations: 3.938 kB / 0.7987 GB, free: 6.305 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001102/0.5523, allocations: 421.9 kB / 0.7991 GB, free: 5.902 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00496/0.5572, allocations: 2.862 MB / 0.8019 GB, free: 3.035 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001449/0.5574, allocations: 47.97 kB / 0.802 GB, free: 2.988 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02215/0.5795, allocations: 18.08 MB / 0.8196 GB, free: 0.707 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.5795, allocations: 0 / 0.8196 GB, free: 0.707 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0104/0.5899, allocations: 6.103 MB / 0.8256 GB, free: 10.64 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001433/0.5914, allocations: 0.6381 MB / 0.8262 GB, free: 10 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003394/0.5917, allocations: 47.98 kB / 0.8262 GB, free: 9.953 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00148/0.5932, allocations: 315.6 kB / 0.8265 GB, free: 9.645 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009065/0.5941, allocations: 370.1 kB / 0.8269 GB, free: 9.285 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002108/0.5943, allocations: 72.84 kB / 0.827 GB, free: 9.215 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001721/0.596, allocations: 1.528 MB / 0.8285 GB, free: 7.688 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.1e-07/0.596, allocations: 0 / 0.8285 GB, free: 7.688 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00194/0.598, allocations: 1.054 MB / 0.8295 GB, free: 6.637 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,varLoad1.T_start,varLoad1.count,varLoad2.T_start,varLoad2.count,varLoad3.T_start,varLoad3.count,varLoad4.T_start,varLoad4.count,varLoad5.T_start,varLoad5.count) * Number of discrete states: 5 (varLoad1.count,varLoad2.count,varLoad3.count,varLoad4.count,varLoad5.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (118): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,52,60.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(10,62)} Notification: Performance of Backend phase and start with SimCode phase: time 0.009566/0.6075, allocations: 6.739 MB / 0.8361 GB, free: 15.95 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.01186/0.6194, allocations: 6.451 MB / 0.8424 GB, free: 9.398 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/0.6194, allocations: 0 / 0.8424 GB, free: 9.398 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.00853/0.6279, allocations: 3.929 MB / 0.8462 GB, free: 5.469 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002985/0.6309, allocations: 1.132 MB / 0.8473 GB, free: 4.402 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04662/0.6775, allocations: 32.57 MB / 0.8791 GB, free: 3.504 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002328/0.6799, allocations: 1.688 MB / 0.8808 GB, free: 1.777 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.00208/0.6819, allocations: 0.498 MB / 0.8813 GB, free: 1.273 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001392/0.6833, allocations: 1.34 MB / 0.8826 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of SimCode: time 2.255e-06/0.6833, allocations: 0 / 0.8826 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1276/0.811, allocations: 106.8 MB / 0.9868 GB, free: 6.844 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.7/12.52, allocations: 7.438 kB / 0.9868 GB, free: 6.84 MB / 0.8386 GB " [Timeout remaining time 647] (rm -f IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_DC_Lines_Examples_DCLinesLinearized_fmu --startTime=0 --stopTime=4000 --stepSize=1.6 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_DC_Lines_Examples_DCLinesLinearized.fmu > IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.66617167275399] Failed to read output from testmodel.py, exit status != 0: 12.654246672056615 12.980454639 12.598498041 Calling exit ...