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.001133/0.001133, allocations: 105.7 kB / 17.54 MB, free: 4.746 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.001141/0.001141, allocations: 185.9 kB / 20.71 MB, free: 1.586 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.295/1.295, allocations: 225.6 MB / 249.3 MB, free: 3.215 MB / 190.1 MB " [Timeout remaining time 179] 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 0.9706/0.9706, allocations: 175.7 MB / 480.1 MB, free: 2.828 MB / 366.1 MB " [Timeout remaining time 179] 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.001737/0.001737, allocations: 71.52 kB / 0.6678 GB, free: 11 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1507/0.1525, allocations: 94.53 MB / 0.7601 GB, free: 0.8516 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02543/0.1779, allocations: 23.47 MB / 0.783 GB, free: 9.297 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0258/0.2037, allocations: 18.14 MB / 0.8007 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002415/0.2061, allocations: 115.4 kB / 0.8008 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.009868/0.216, allocations: 4.326 MB / 0.8051 GB, free: 2.656 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.009254/0.2252, allocations: 3.572 MB / 0.8086 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003074/0.2283, allocations: 1.33 MB / 0.8099 GB, free: 13.74 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.008006/0.2363, allocations: 5.789 MB / 0.8155 GB, free: 7.934 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003275/0.2396, allocations: 2.464 MB / 0.8179 GB, free: 5.398 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00341/0.243, allocations: 2.48 MB / 0.8203 GB, free: 2.91 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003536/0.2465, allocations: 2.518 MB / 0.8228 GB, free: 392 kB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0005429/0.2471, allocations: 372 kB / 0.8232 GB, free: 20 kB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001897/0.249, allocations: 1.049 MB / 0.8242 GB, free: 14.97 MB / 0.6388 GB Notification: Performance of NFScalarize.scalarize: time 0.001069/0.25, allocations: 1.226 MB / 0.8254 GB, free: 13.74 MB / 0.6388 GB Notification: Performance of NFVerifyModel.verify: time 0.002133/0.2522, allocations: 1.994 MB / 0.8273 GB, free: 11.73 MB / 0.6388 GB Notification: Performance of NFConvertDAE.convert: time 0.00547/0.2576, allocations: 5.199 MB / 0.8324 GB, free: 6.516 MB / 0.6388 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.2576, allocations: 0 / 0.8324 GB, free: 6.516 MB / 0.6388 GB Notification: Performance of FrontEnd: time 1.763e-06/0.2576, allocations: 0 / 0.8324 GB, free: 6.516 MB / 0.6388 GB Notification: Performance of Transformations before backend: time 5.978e-05/0.2577, allocations: 0 / 0.8324 GB, free: 6.516 MB / 0.6388 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.008899/0.2666, allocations: 4.727 MB / 0.837 GB, free: 1.672 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.2666, allocations: 8.031 kB / 0.837 GB, free: 1.664 MB / 0.6388 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004664/0.2671, allocations: 366.3 kB / 0.8374 GB, free: 1.297 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2944/0.5615, allocations: 3.276 MB / 0.8406 GB, free: 70.98 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00403/0.5655, allocations: 2.254 MB / 0.8428 GB, free: 70.52 MB / 0.6388 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003117/0.5658, allocations: 463.5 kB / 0.8432 GB, free: 70.2 MB / 0.6388 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005344/0.5664, allocations: 232.8 kB / 0.8434 GB, free: 70.2 MB / 0.6388 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01087/0.5772, allocations: 4.817 MB / 0.8481 GB, free: 68.62 MB / 0.6388 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.413e-05/0.5773, allocations: 5.094 kB / 0.8482 GB, free: 68.62 MB / 0.6388 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003156/0.5776, allocations: 110.6 kB / 0.8483 GB, free: 68.55 MB / 0.6388 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002546/0.5779, allocations: 171 kB / 0.8484 GB, free: 68.53 MB / 0.6388 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01334/0.5912, allocations: 5.192 MB / 0.8535 GB, free: 66.98 MB / 0.6388 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01757/0.6088, allocations: 14.42 MB / 0.8676 GB, free: 55.86 MB / 0.6388 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008361/0.6171, allocations: 3.246 MB / 0.8707 GB, free: 54.22 MB / 0.6388 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003077/0.6202, allocations: 1.377 MB / 0.8721 GB, free: 53.52 MB / 0.6388 GB Notification: Performance of preOpt evalFunc (simulation): time 9.748e-05/0.6203, allocations: 24.89 kB / 0.8721 GB, free: 53.52 MB / 0.6388 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003482/0.6238, allocations: 1.79 MB / 0.8739 GB, free: 52.41 MB / 0.6388 GB Notification: Performance of pre-optimization done (n=163): time 3.576e-06/0.6238, allocations: 0 / 0.8739 GB, free: 52.41 MB / 0.6388 GB Notification: Performance of matching and sorting (n=250): time 0.1089/0.7327, allocations: 28.22 MB / 0.9014 GB, free: 30.83 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.651e-05/0.7328, allocations: 0.4928 MB / 0.9019 GB, free: 30.23 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002227/0.735, allocations: 2.312 MB / 0.9042 GB, free: 27.91 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 0.0002333/0.7353, allocations: 80.05 kB / 0.9042 GB, free: 27.82 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006782/0.7359, allocations: 1.448 MB / 0.9056 GB, free: 26.37 MB / 0.6388 GB Notification: Performance of collectInitialBindings (initialization): time 0.000456/0.7364, allocations: 0.8661 MB / 0.9065 GB, free: 25.52 MB / 0.6388 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006875/0.7371, allocations: 412.5 kB / 0.9069 GB, free: 25.11 MB / 0.6388 GB Notification: Performance of setup shared object (initialization): time 2.862e-05/0.7371, allocations: 305.1 kB / 0.9072 GB, free: 24.8 MB / 0.6388 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004236/0.7413, allocations: 1.925 MB / 0.9091 GB, free: 22.88 MB / 0.6388 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004326/0.7457, allocations: 2.235 MB / 0.9112 GB, free: 20.55 MB / 0.6388 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008356/0.754, allocations: 4.161 MB / 0.9153 GB, free: 16.26 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.141e-06/0.754, allocations: 4 kB / 0.9153 GB, free: 16.25 MB / 0.6388 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01492/0.7689, allocations: 6.475 MB / 0.9216 GB, free: 9.688 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 5.306e-05/0.769, allocations: 146.2 kB / 0.9218 GB, free: 9.516 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.288e-05/0.769, allocations: 8 kB / 0.9218 GB, free: 9.508 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008191/0.7772, allocations: 2.924 MB / 0.9246 GB, free: 6.574 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002489/0.7797, allocations: 495.2 kB / 0.9251 GB, free: 6.09 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03622/0.8159, allocations: 18.87 MB / 0.9435 GB, free: 3.023 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00389/0.8198, allocations: 315.6 kB / 0.9438 GB, free: 2.715 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002555/0.8201, allocations: 87.97 kB / 0.9439 GB, free: 2.629 MB / 0.6544 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.001352/0.8214, allocations: 0.6964 MB / 0.9446 GB, free: 1.926 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005336/0.8219, allocations: 357.8 kB / 0.9449 GB, free: 1.574 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007261/0.8227, allocations: 376.1 kB / 0.9453 GB, free: 1.199 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-05/0.8227, allocations: 24 kB / 0.9453 GB, free: 1.176 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.204e-05/0.8227, allocations: 16 kB / 0.9453 GB, free: 1.16 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.835e-05/0.8227, allocations: 11.95 kB / 0.9453 GB, free: 1.148 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004565/0.8273, allocations: 3.626 MB / 0.9489 GB, free: 13.51 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/0.8273, allocations: 0 / 0.9489 GB, free: 13.51 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002356/0.8297, allocations: 419.3 kB / 0.9493 GB, free: 13.1 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009193/0.8389, allocations: 2.876 MB / 0.9521 GB, free: 10.22 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002346/0.8391, allocations: 51.97 kB / 0.9521 GB, free: 10.17 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03821/0.8773, allocations: 18.63 MB / 0.9703 GB, free: 7.246 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.8773, allocations: 0 / 0.9703 GB, free: 7.246 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01731/0.8946, allocations: 6.119 MB / 0.9763 GB, free: 1.105 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00149/0.8961, allocations: 0.7134 MB / 0.977 GB, free: 380 kB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004378/0.8965, allocations: 48 kB / 0.9771 GB, free: 332 kB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002971/0.8995, allocations: 311.6 kB / 0.9774 GB, free: 20 kB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001077/0.9006, allocations: 358.7 kB / 0.9777 GB, free: 15.67 MB / 0.7013 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001979/0.9008, allocations: 71.97 kB / 0.9778 GB, free: 15.6 MB / 0.7013 GB Notification: Performance of sorting global known variables: time 0.002085/0.9029, allocations: 1.536 MB / 0.9793 GB, free: 14.06 MB / 0.7013 GB Notification: Performance of sort global known variables: time 7e-08/0.9029, allocations: 0 / 0.9793 GB, free: 14.06 MB / 0.7013 GB Notification: Performance of remove unused functions: time 0.002497/0.9054, allocations: 1.043 MB / 0.9803 GB, free: 13.02 MB / 0.7013 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.01751/0.9229, allocations: 6.737 MB / 0.9869 GB, free: 6.242 MB / 0.7013 GB Notification: Performance of simCode: created initialization part: time 0.022/0.9449, allocations: 6.316 MB / 0.993 GB, free: 15.83 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/0.9449, allocations: 0 / 0.993 GB, free: 15.83 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.01618/0.9611, allocations: 3.931 MB / 0.9969 GB, free: 11.88 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004192/0.9653, allocations: 1.145 MB / 0.998 GB, free: 10.79 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0684/1.034, allocations: 31.83 MB / 1.029 GB, free: 10.48 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002002/1.036, allocations: 2.227 MB / 1.031 GB, free: 8.223 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001922/1.038, allocations: 0.5099 MB / 1.032 GB, free: 7.707 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001741/1.039, allocations: 1.339 MB / 1.033 GB, free: 6.367 MB / 0.7481 GB Notification: Performance of SimCode: time 7.71e-07/1.039, allocations: 0 / 1.033 GB, free: 6.367 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1701/1.209, allocations: 104.3 MB / 1.135 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.52/18.73, allocations: 7.938 kB / 1.135 GB, free: 15.11 MB / 0.8575 GB " [Timeout remaining time 641] (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 --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 sys.exit(0), Time elapsed: 22.34944758900383]