Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.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.001779/0.001779, allocations: 114 kB / 18.14 MB, free: 3.781 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.001847/0.001847, allocations: 201.2 kB / 21.43 MB, free: 0.5 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.504/1.504, allocations: 225.6 MB / 250.2 MB, free: 13.26 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.148/1.148, allocations: 175.8 MB / 481.1 MB, free: 7.68 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.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002156/0.002156, allocations: 66.98 kB / 0.6693 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6013/0.6035, allocations: 94.53 MB / 0.7616 GB, free: 9.031 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.04383/0.6473, allocations: 39.76 MB / 0.8004 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0234/0.6707, allocations: 11.41 MB / 0.8116 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005017/0.6757, allocations: 156.9 kB / 0.8117 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.01262/0.6883, allocations: 4.529 MB / 0.8162 GB, free: 5.055 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.007912/0.6962, allocations: 2.328 MB / 0.8184 GB, free: 3.125 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.007109/0.7034, allocations: 2.247 MB / 0.8206 GB, free: 1.254 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.01503/0.7184, allocations: 9.281 MB / 0.8297 GB, free: 11.94 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01284/0.7312, allocations: 5.977 MB / 0.8355 GB, free: 8.16 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009676/0.7409, allocations: 4.06 MB / 0.8395 GB, free: 5.816 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009979/0.7509, allocations: 4.752 MB / 0.8441 GB, free: 2.031 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.002411/0.7533, allocations: 0.8242 MB / 0.8449 GB, free: 1.207 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005435/0.7587, allocations: 1.607 MB / 0.8465 GB, free: 15.6 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.005088/0.7638, allocations: 3.231 MB / 0.8497 GB, free: 12.36 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.008967/0.7728, allocations: 3.657 MB / 0.8532 GB, free: 8.684 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.02033/0.7931, allocations: 12.35 MB / 0.8653 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/0.7931, allocations: 0 / 0.8653 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.184e-06/0.7931, allocations: 4 kB / 0.8653 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0005152/0.7936, allocations: 0 / 0.8653 GB, free: 12.29 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.02552/0.8192, allocations: 6.467 MB / 0.8716 GB, free: 5.746 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.8192, allocations: 8.031 kB / 0.8716 GB, free: 5.738 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003036/0.8222, allocations: 0.8294 MB / 0.8724 GB, free: 4.898 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006805/0.829, allocations: 1.098 MB / 0.8735 GB, free: 3.797 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01105/0.8401, allocations: 3.632 MB / 0.877 GB, free: 116 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005351/0.8406, allocations: 423.8 kB / 0.8774 GB, free: 15.7 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00255/0.8432, allocations: 0.5471 MB / 0.878 GB, free: 15.15 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0254/0.8686, allocations: 9.377 MB / 0.8871 GB, free: 5.441 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002565/0.8688, allocations: 19.83 kB / 0.8872 GB, free: 5.422 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001848/0.8707, allocations: 244 kB / 0.8874 GB, free: 5.184 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007359/0.8714, allocations: 426.9 kB / 0.8878 GB, free: 4.766 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01707/0.8885, allocations: 7.125 MB / 0.8948 GB, free: 13.63 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06037/0.9489, allocations: 41.07 MB / 0.9349 GB, free: 0.8125 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005287/0.9542, allocations: 2.9 MB / 0.9377 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003297/0.9575, allocations: 1.954 MB / 0.9396 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001869/0.9576, allocations: 22 kB / 0.9396 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.606e-05/0.9577, allocations: 60.5 kB / 0.9397 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=209): time 4.288e-06/0.9577, allocations: 4 kB / 0.9397 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of matching and sorting (n=212): time 0.02633/0.984, allocations: 10.58 MB / 0.95 GB, free: 1.188 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.503e-05/0.9841, allocations: 73.41 kB / 0.9501 GB, free: 1.102 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003885/0.988, allocations: 1.998 MB / 0.952 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0003755/0.9884, allocations: 65.7 kB / 0.9521 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.002054/0.9904, allocations: 2.478 MB / 0.9545 GB, free: 12.51 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009837/0.9914, allocations: 0.7746 MB / 0.9553 GB, free: 11.73 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001173/0.9926, allocations: 481.5 kB / 0.9557 GB, free: 11.25 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001689/0.9928, allocations: 309.1 kB / 0.956 GB, free: 10.95 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002427/0.9952, allocations: 1.368 MB / 0.9574 GB, free: 9.578 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003117/0.9983, allocations: 2.104 MB / 0.9594 GB, free: 7.16 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005745/1.004, allocations: 3.766 MB / 0.9631 GB, free: 3.082 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.938e-05/1.004, allocations: 8 kB / 0.9631 GB, free: 3.074 MB / 0.7481 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.009643/1.014, allocations: 5.023 MB / 0.968 GB, free: 14.02 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 4.38e-05/1.014, allocations: 19.25 kB / 0.968 GB, free: 14.01 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.123e-05/1.014, allocations: 24 kB / 0.9681 GB, free: 13.98 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003855/1.018, allocations: 1.59 MB / 0.9696 GB, free: 12.39 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001944/1.02, allocations: 451.2 kB / 0.97 GB, free: 11.95 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02791/1.048, allocations: 18.59 MB / 0.9882 GB, free: 8.801 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002466/1.05, allocations: 147.9 kB / 0.9883 GB, free: 8.656 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006305/1.051, allocations: 112 kB / 0.9884 GB, free: 8.547 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (231): * Single equations (assignments): 227 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00483/1.055, allocations: 1.933 MB / 0.9903 GB, free: 6.602 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001127/1.057, allocations: 298.2 kB / 0.9906 GB, free: 6.309 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009266/1.066, allocations: 4.404 MB / 0.9949 GB, free: 1.875 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.549e-05/1.066, allocations: 23.94 kB / 0.9949 GB, free: 1.852 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.544e-05/1.066, allocations: 16 kB / 0.995 GB, free: 1.836 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.138e-05/1.066, allocations: 7.969 kB / 0.995 GB, free: 1.828 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02147/1.087, allocations: 9.625 MB / 1.004 GB, free: 8.059 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.905e-05/1.087, allocations: 4 kB / 1.004 GB, free: 8.055 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00111/1.089, allocations: 243.6 kB / 1.005 GB, free: 7.816 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003704/1.092, allocations: 1.418 MB / 1.006 GB, free: 6.391 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002882/1.093, allocations: 48 kB / 1.006 GB, free: 6.344 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02681/1.119, allocations: 18.57 MB / 1.024 GB, free: 3.211 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.041e-05/1.119, allocations: 8 kB / 1.024 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009229/1.129, allocations: 4.503 MB / 1.029 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002178/1.131, allocations: 0.6477 MB / 1.029 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008051/1.132, allocations: 40 kB / 1.029 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001837/1.133, allocations: 115.9 kB / 1.029 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006262/1.134, allocations: 185.6 kB / 1.03 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000225/1.134, allocations: 56 kB / 1.03 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.002606/1.137, allocations: 1.323 MB / 1.031 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.11e-07/1.137, allocations: 0 / 1.031 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.004985/1.142, allocations: 1.137 MB / 1.032 GB, free: 11.09 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (107): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008943/1.151, allocations: 5.118 MB / 1.037 GB, free: 5.871 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.008424/1.159, allocations: 4.543 MB / 1.041 GB, free: 1.281 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.099e-05/1.159, allocations: 4 kB / 1.041 GB, free: 1.277 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.005101/1.164, allocations: 2.797 MB / 1.044 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004862/1.169, allocations: 0.8963 MB / 1.045 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06906/1.238, allocations: 30.58 MB / 1.075 GB, free: 13.76 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007734/1.246, allocations: 3.694 MB / 1.079 GB, free: 10.03 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.002761/1.249, allocations: 0.5479 MB / 1.079 GB, free: 9.473 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003424/1.252, allocations: 1.944 MB / 1.081 GB, free: 7.527 MB / 0.8731 GB Notification: Performance of SimCode: time 2.074e-06/1.252, allocations: 0 / 1.081 GB, free: 7.527 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5693/1.821, allocations: 86.3 MB / 1.165 GB, free: 240.6 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.6/17.43, allocations: 8.969 kB / 1.165 GB, free: 240.6 MB / 0.8731 GB " [Timeout remaining time 642] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 21.659333038143814] Failed to read output from testmodel.py, exit status != 0: 17.55765656195581 17.576678446 16.779672811 Calling exit ...