Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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.001943/0.001943, allocations: 105.2 kB / 16.4 MB, free: 6.5 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.002278/0.002278, 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.449/1.449, allocations: 222.9 MB / 245.1 MB, free: 15.02 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.059/1.059, allocations: 173.4 MB / 470.7 MB, free: 13.57 MB / 382.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.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001971/0.001971, allocations: 72.58 kB / 0.6479 GB, free: 11.7 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1814/0.1834, allocations: 89.52 MB / 0.7353 GB, free: 2.172 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.3861/0.5695, allocations: 34.82 MB / 0.7693 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01743/0.587, allocations: 11.49 MB / 0.7805 GB, free: 2.004 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004377/0.5914, allocations: 159.3 kB / 0.7807 GB, free: 1.957 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.01141/0.6029, allocations: 4.254 MB / 0.7848 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.007779/0.6107, allocations: 1.988 MB / 0.7868 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.008074/0.6188, allocations: 2.4 MB / 0.7891 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01329/0.6321, allocations: 8.481 MB / 0.7974 GB, free: 9.098 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01764/0.6498, allocations: 11.13 MB / 0.8082 GB, free: 4.164 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007167/0.657, allocations: 3.744 MB / 0.8119 GB, free: 1.988 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007881/0.6649, allocations: 4.184 MB / 0.816 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.002683/0.6677, allocations: 0.7806 MB / 0.8168 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007121/0.6748, allocations: 2.031 MB / 0.8187 GB, free: 14.49 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.006966/0.6818, allocations: 3.049 MB / 0.8217 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.007268/0.6891, allocations: 3.4 MB / 0.825 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0149/0.704, allocations: 12.01 MB / 0.8368 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.032e-06/0.7041, allocations: 4 kB / 0.8368 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.513e-06/0.7041, allocations: 0 / 0.8368 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0002951/0.7044, allocations: 0 / 0.8368 GB, free: 11.98 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01368/0.7181, allocations: 5.939 MB / 0.8426 GB, free: 5.957 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/0.7181, allocations: 11.97 kB / 0.8426 GB, free: 5.945 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001691/0.7198, allocations: 0.809 MB / 0.8434 GB, free: 5.125 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006322/0.7262, allocations: 1.09 MB / 0.8444 GB, free: 4.031 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006907/0.7331, allocations: 3.471 MB / 0.8478 GB, free: 0.5039 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003609/0.7335, allocations: 415.5 kB / 0.8482 GB, free: 100 kB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001432/0.7349, allocations: 0.5316 MB / 0.8487 GB, free: 15.56 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01909/0.754, allocations: 9.083 MB / 0.8576 GB, free: 6.16 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00024/0.7543, allocations: 31.77 kB / 0.8576 GB, free: 6.129 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001179/0.7555, allocations: 236 kB / 0.8579 GB, free: 5.898 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004161/0.7559, allocations: 346.8 kB / 0.8582 GB, free: 5.559 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01366/0.7696, allocations: 6.83 MB / 0.8649 GB, free: 14.72 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04749/0.8171, allocations: 39.86 MB / 0.9038 GB, free: 3.141 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004165/0.8213, allocations: 3.115 MB / 0.9068 GB, free: 15.88 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00282/0.8241, allocations: 1.982 MB / 0.9088 GB, free: 13.91 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001115/0.8243, allocations: 18 kB / 0.9088 GB, free: 13.89 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.527e-05/0.8243, allocations: 60.55 kB / 0.9088 GB, free: 13.82 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=179): time 3.336e-06/0.8243, allocations: 0 / 0.9088 GB, free: 13.82 MB / 0.7012 GB Notification: Performance of matching and sorting (n=182): time 0.02609/0.8504, allocations: 10.04 MB / 0.9187 GB, free: 3.691 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.556e-05/0.8506, allocations: 77.39 kB / 0.9187 GB, free: 3.602 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002487/0.8531, allocations: 1.519 MB / 0.9202 GB, free: 2.039 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001778/0.8532, allocations: 53.7 kB / 0.9203 GB, free: 1.98 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001812/0.8551, allocations: 2.328 MB / 0.9225 GB, free: 15.62 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006811/0.8558, allocations: 0.6584 MB / 0.9232 GB, free: 14.96 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007083/0.8565, allocations: 408.1 kB / 0.9236 GB, free: 14.55 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.8566, allocations: 304.9 kB / 0.9239 GB, free: 14.26 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001927/0.8586, allocations: 1.179 MB / 0.925 GB, free: 13.07 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002613/0.8612, allocations: 1.885 MB / 0.9269 GB, free: 10.87 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004683/0.8659, allocations: 3.375 MB / 0.9301 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-05/0.8659, allocations: 4 kB / 0.9302 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.008398/0.8743, allocations: 4.593 MB / 0.9346 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.205e-05/0.8744, allocations: 16 kB / 0.9347 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.278e-05/0.8744, allocations: 24.88 kB / 0.9347 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003961/0.8784, allocations: 1.572 MB / 0.9362 GB, free: 0.9453 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001281/0.8797, allocations: 359.3 kB / 0.9366 GB, free: 0.5938 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02553/0.9053, allocations: 18.61 MB / 0.9547 GB, free: 13.43 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001721/0.907, allocations: 119.9 kB / 0.9548 GB, free: 13.31 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001844/0.9072, allocations: 96 kB / 0.9549 GB, free: 13.21 MB / 0.7481 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 (177): * Single equations (assignments): 173 * 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 {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003214/0.9104, allocations: 1.898 MB / 0.9568 GB, free: 11.31 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004829/0.9109, allocations: 234.5 kB / 0.957 GB, free: 11.08 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007465/0.9184, allocations: 4.086 MB / 0.961 GB, free: 6.965 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.748e-05/0.9184, allocations: 20 kB / 0.961 GB, free: 6.945 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.674e-05/0.9185, allocations: 16 kB / 0.961 GB, free: 6.93 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.903e-05/0.9185, allocations: 15.91 kB / 0.961 GB, free: 6.914 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01607/0.9346, allocations: 9.466 MB / 0.9703 GB, free: 13.2 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.579e-05/0.9346, allocations: 8 kB / 0.9703 GB, free: 13.19 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008438/0.9355, allocations: 183.6 kB / 0.9705 GB, free: 13.01 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003611/0.9391, allocations: 1.355 MB / 0.9718 GB, free: 11.64 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001624/0.9393, allocations: 36 kB / 0.9718 GB, free: 11.61 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02311/0.9624, allocations: 17.37 MB / 0.9888 GB, free: 9.684 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.304e-06/0.9624, allocations: 7.938 kB / 0.9888 GB, free: 9.676 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007197/0.9697, allocations: 4.083 MB / 0.9928 GB, free: 5.504 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001115/0.9708, allocations: 0.5385 MB / 0.9933 GB, free: 4.945 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003037/0.9711, allocations: 39.94 kB / 0.9934 GB, free: 4.906 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009694/0.9721, allocations: 87.89 kB / 0.9934 GB, free: 4.82 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004834/0.9726, allocations: 157.7 kB / 0.9936 GB, free: 4.664 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001209/0.9727, allocations: 48 kB / 0.9936 GB, free: 4.617 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001437/0.9741, allocations: 1.005 MB / 0.9946 GB, free: 3.59 MB / 0.7794 GB Notification: Performance of sort global known variables: time 3.21e-07/0.9742, allocations: 3.938 kB / 0.9946 GB, free: 3.586 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.002979/0.9771, allocations: 0.9921 MB / 0.9956 GB, free: 2.594 MB / 0.7794 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 (85): * Single equations (assignments): 81 * 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 {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007358/0.9845, allocations: 4.669 MB / 1 GB, free: 13.82 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.007529/0.9921, allocations: 4.3 MB / 1.004 GB, free: 9.473 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/0.9921, allocations: 0 / 1.004 GB, free: 9.473 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.004618/0.9967, allocations: 2.686 MB / 1.007 GB, free: 6.738 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003671/1, allocations: 0.7738 MB / 1.008 GB, free: 5.992 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04789/1.048, allocations: 26.99 MB / 1.034 GB, free: 9.914 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005424/1.054, allocations: 3.577 MB / 1.038 GB, free: 6.305 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.001504/1.055, allocations: 463.9 kB / 1.038 GB, free: 5.848 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003563/1.059, allocations: 1.788 MB / 1.04 GB, free: 4.059 MB / 0.8262 GB Notification: Performance of SimCode: time 1.322e-06/1.059, allocations: 0 / 1.04 GB, free: 4.059 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5221/1.581, allocations: 73.87 MB / 1.112 GB, free: 266.3 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.01/15.59, allocations: 19.97 kB / 1.112 GB, free: 266.3 MB / 0.8575 GB " [Timeout remaining time 644] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.80104079004377] Failed to read output from testmodel.py, exit status != 0: 15.707929432857782 15.720238723 15.014081191 Calling exit ...