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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001907/0.001907, allocations: 104.9 kB / 16.4 MB, free: 6.492 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002311/0.002311, allocations: 191.7 kB / 19.36 MB, free: 3.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.556/1.556, allocations: 222.9 MB / 245.1 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 3.0.0-master/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 3.0.0-master/package.mo): time 1.13/1.13, allocations: 173.5 MB / 470.7 MB, free: 13.58 MB / 382.1 MB " [Timeout remaining time 178] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002012/0.002012, allocations: 68.86 kB / 0.6479 GB, free: 11.68 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2025/0.2046, allocations: 89.52 MB / 0.7353 GB, free: 2.176 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.4687/0.6733, allocations: 22.62 MB / 0.7574 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02739/0.7007, allocations: 17.63 MB / 0.7746 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004845/0.7056, allocations: 115.2 kB / 0.7747 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0116/0.7172, allocations: 4.172 MB / 0.7788 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01249/0.7297, allocations: 3.517 MB / 0.7822 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004588/0.7343, allocations: 1.309 MB / 0.7835 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01339/0.7478, allocations: 5.785 MB / 0.7891 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008559/0.7564, allocations: 3.594 MB / 0.7927 GB, free: 8.617 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006365/0.7628, allocations: 2.41 MB / 0.795 GB, free: 7.594 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007385/0.7702, allocations: 2.447 MB / 0.7974 GB, free: 6.527 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.002269/0.7725, allocations: 369.2 kB / 0.7978 GB, free: 6.527 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004777/0.7773, allocations: 1.035 MB / 0.7988 GB, free: 6.258 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.002923/0.7802, allocations: 1.196 MB / 0.7999 GB, free: 5.656 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.005826/0.7861, allocations: 2 MB / 0.8019 GB, free: 4.301 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01071/0.7968, allocations: 5.197 MB / 0.807 GB, free: 0.668 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.7969, allocations: 0 / 0.807 GB, free: 0.668 MB / 0.5919 GB Notification: Performance of FrontEnd: time 7.62e-07/0.7969, allocations: 3.938 kB / 0.807 GB, free: 0.6641 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0002245/0.7971, allocations: 0 / 0.807 GB, free: 0.6641 MB / 0.5919 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.01579/0.8129, allocations: 4.733 MB / 0.8116 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.942e-05/0.813, allocations: 9.219 kB / 0.8116 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001465/0.8144, allocations: 360.8 kB / 0.8119 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01895/0.8334, allocations: 3.289 MB / 0.8151 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007873/0.8413, allocations: 2.25 MB / 0.8173 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007023/0.8421, allocations: 465.7 kB / 0.8178 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001626/0.8437, allocations: 236.6 kB / 0.818 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01769/0.8615, allocations: 4.809 MB / 0.8227 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001084/0.8616, allocations: 2.344 kB / 0.8227 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001175/0.8628, allocations: 109.9 kB / 0.8228 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002439/0.863, allocations: 169 kB / 0.823 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01676/0.8798, allocations: 5.197 MB / 0.8281 GB, free: 2.258 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02953/0.9094, allocations: 14.42 MB / 0.8421 GB, free: 2.672 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01132/0.9207, allocations: 3.39 MB / 0.8454 GB, free: 15.26 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004423/0.9252, allocations: 1.471 MB / 0.8469 GB, free: 13.79 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002867/0.9255, allocations: 29.28 kB / 0.8469 GB, free: 13.76 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00552/0.9311, allocations: 1.782 MB / 0.8487 GB, free: 11.91 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=163): time 5.36e-06/0.9311, allocations: 8 kB / 0.8487 GB, free: 11.9 MB / 0.6387 GB Notification: Performance of matching and sorting (n=250): time 0.1816/1.113, allocations: 28.28 MB / 0.8763 GB, free: 15.4 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003279/1.113, allocations: 0.4928 MB / 0.8768 GB, free: 14.8 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004177/1.117, allocations: 2.3 MB / 0.879 GB, free: 12.49 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.000623/1.118, allocations: 77.7 kB / 0.8791 GB, free: 12.41 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001877/1.12, allocations: 1.452 MB / 0.8805 GB, free: 10.94 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.001422/1.121, allocations: 0.8636 MB / 0.8813 GB, free: 10.07 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001/1.122, allocations: 416.5 kB / 0.8817 GB, free: 9.656 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.00015/1.122, allocations: 301.1 kB / 0.882 GB, free: 9.359 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005788/1.128, allocations: 1.933 MB / 0.8839 GB, free: 7.422 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006212/1.134, allocations: 2.231 MB / 0.8861 GB, free: 5.105 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01191/1.146, allocations: 4.165 MB / 0.8902 GB, free: 0.8047 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.879e-06/1.146, allocations: 4 kB / 0.8902 GB, free: 0.8008 MB / 0.67 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.02077/1.167, allocations: 6.56 MB / 0.8966 GB, free: 10.14 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 0.000139/1.167, allocations: 148.5 kB / 0.8967 GB, free: 9.969 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.15e-05/1.167, allocations: 4 kB / 0.8967 GB, free: 9.965 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01062/1.178, allocations: 2.934 MB / 0.8996 GB, free: 7.023 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003129/1.181, allocations: 488 kB / 0.9 GB, free: 6.547 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04336/1.225, allocations: 18.86 MB / 0.9185 GB, free: 3.441 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004643/1.229, allocations: 319.6 kB / 0.9188 GB, free: 3.129 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003599/1.23, allocations: 91.97 kB / 0.9189 GB, free: 3.039 MB / 0.7012 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.001726/1.231, allocations: 0.7065 MB / 0.9195 GB, free: 2.324 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000749/1.232, allocations: 341.9 kB / 0.9199 GB, free: 1.988 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008829/1.233, allocations: 384.1 kB / 0.9202 GB, free: 1.605 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.541e-05/1.233, allocations: 24 kB / 0.9203 GB, free: 1.582 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-05/1.233, allocations: 12.88 kB / 0.9203 GB, free: 1.57 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.218e-05/1.233, allocations: 11.95 kB / 0.9203 GB, free: 1.559 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005727/1.239, allocations: 3.628 MB / 0.9238 GB, free: 13.88 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-05/1.239, allocations: 3.984 kB / 0.9238 GB, free: 13.87 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002644/1.242, allocations: 423.3 kB / 0.9242 GB, free: 13.46 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01071/1.252, allocations: 2.865 MB / 0.927 GB, free: 10.58 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006147/1.253, allocations: 51.91 kB / 0.9271 GB, free: 10.54 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04272/1.296, allocations: 18.64 MB / 0.9453 GB, free: 7.594 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/1.296, allocations: 4 kB / 0.9453 GB, free: 7.59 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01961/1.315, allocations: 6.187 MB / 0.9513 GB, free: 1.375 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002119/1.318, allocations: 0.7135 MB / 0.952 GB, free: 0.6406 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006851/1.318, allocations: 51.92 kB / 0.9521 GB, free: 0.5898 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003379/1.322, allocations: 311.6 kB / 0.9524 GB, free: 292 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00131/1.323, allocations: 350.7 kB / 0.9527 GB, free: 15.94 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002494/1.323, allocations: 71.97 kB / 0.9528 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.002405/1.326, allocations: 1.536 MB / 0.9543 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/1.326, allocations: 4 kB / 0.9543 GB, free: 14.33 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.003479/1.329, allocations: 1.039 MB / 0.9553 GB, free: 13.29 MB / 0.7481 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.02043/1.35, allocations: 6.827 MB / 0.962 GB, free: 6.426 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.02536/1.375, allocations: 6.481 MB / 0.9683 GB, free: 15.85 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/1.375, allocations: 0 / 0.9683 GB, free: 15.85 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.01849/1.394, allocations: 4.069 MB / 0.9723 GB, free: 11.75 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005782/1.399, allocations: 1.141 MB / 0.9734 GB, free: 10.65 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08274/1.482, allocations: 31.96 MB / 1.005 GB, free: 10.21 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002594/1.485, allocations: 2.238 MB / 1.007 GB, free: 7.941 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.002584/1.487, allocations: 0.5099 MB / 1.007 GB, free: 7.426 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002132/1.49, allocations: 1.335 MB / 1.009 GB, free: 6.09 MB / 0.795 GB Notification: Performance of SimCode: time 1.112e-06/1.49, allocations: 0 / 1.009 GB, free: 6.09 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5717/2.061, allocations: 102.7 MB / 1.109 GB, free: 281 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.86/21.92, allocations: 2.656 kB / 1.109 GB, free: 281 MB / 0.8575 GB " [Timeout remaining time 638] (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: 26.1745569081977] Failed to read output from testmodel.py, exit status != 0: 22.085951424203813 22.097478474 21.298698873 Calling exit ...