Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.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.0008179/0.0008179, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.0009078/0.0009078, allocations: 210.6 kB / 22.25 MB, free: 3.578 MB / 13.93 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.9404/0.9404, allocations: 230.6 MB / 256 MB, free: 9.613 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/package.mo): time 0.8099/0.8099, allocations: 203.5 MB / 0.5039 GB, free: 10.7 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="IDEAS_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_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001393, allocations: 69.52 kB / 0.7178 GB, free: 4.375 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5423/0.5437, allocations: 102 MB / 0.8174 GB, free: 1.234 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.03263/0.5764, allocations: 36.42 MB / 0.853 GB, free: 9.691 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01651/0.5929, allocations: 11.11 MB / 0.8638 GB, free: 1.02 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00449/0.5974, allocations: 204.5 kB / 0.864 GB, free: 0.9258 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.007382/0.6047, allocations: 4.375 MB / 0.8683 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.006911/0.6116, allocations: 2.329 MB / 0.8706 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.005777/0.6174, allocations: 2.178 MB / 0.8727 GB, free: 9.93 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.01201/0.6294, allocations: 9.282 MB / 0.8818 GB, free: 4.059 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007966/0.6374, allocations: 6.327 MB / 0.8879 GB, free: 13.62 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007507/0.6449, allocations: 4.133 MB / 0.892 GB, free: 9.473 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007243/0.6522, allocations: 4.466 MB / 0.8963 GB, free: 4.992 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.002006/0.6542, allocations: 0.8203 MB / 0.8971 GB, free: 4.172 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00346/0.6576, allocations: 1.502 MB / 0.8986 GB, free: 2.668 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.003362/0.661, allocations: 3.235 MB / 0.9018 GB, free: 15.43 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.007176/0.6682, allocations: 2.969 MB / 0.9047 GB, free: 12.45 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.01366/0.6818, allocations: 12.41 MB / 0.9168 GB, free: 15.99 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.082e-05/0.6818, allocations: 4 kB / 0.9168 GB, free: 15.99 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.046e-06/0.6818, allocations: 0 / 0.9168 GB, free: 15.99 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0005102/0.6823, allocations: 0 / 0.9168 GB, free: 15.99 MB / 0.698 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.01877/0.7011, allocations: 6.391 MB / 0.923 GB, free: 9.539 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.374e-05/0.7012, allocations: 8.031 kB / 0.923 GB, free: 9.531 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002459/0.7036, allocations: 0.8294 MB / 0.9238 GB, free: 8.691 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005608/0.7092, allocations: 1.094 MB / 0.9249 GB, free: 7.594 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006593/0.7158, allocations: 3.583 MB / 0.9284 GB, free: 3.949 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002471/0.7161, allocations: 419.8 kB / 0.9288 GB, free: 3.539 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00132/0.7174, allocations: 0.5433 MB / 0.9293 GB, free: 2.996 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01624/0.7336, allocations: 10.29 MB / 0.9394 GB, free: 8.148 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001416/0.7338, allocations: 27.77 kB / 0.9394 GB, free: 8.121 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001053/0.7348, allocations: 248 kB / 0.9396 GB, free: 7.879 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004422/0.7353, allocations: 426.9 kB / 0.9401 GB, free: 7.461 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01443/0.7497, allocations: 7.112 MB / 0.947 GB, free: 348 kB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03255/0.7823, allocations: 26.26 MB / 0.9726 GB, free: 5.43 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003356/0.7856, allocations: 2.888 MB / 0.9755 GB, free: 2.535 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001996/0.7876, allocations: 1.94 MB / 0.9774 GB, free: 0.5977 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 8.331e-05/0.7877, allocations: 22 kB / 0.9774 GB, free: 0.5742 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.223e-05/0.7877, allocations: 68.36 kB / 0.9774 GB, free: 0.5 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=209): time 7.515e-06/0.7877, allocations: 0 / 0.9774 GB, free: 0.5 MB / 0.7448 GB Notification: Performance of matching and sorting (n=212): time 0.01626/0.804, allocations: 10.27 MB / 0.9875 GB, free: 6.211 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.918e-05/0.8041, allocations: 77.34 kB / 0.9875 GB, free: 6.121 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002359/0.8064, allocations: 2.052 MB / 0.9896 GB, free: 4.051 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0002805/0.8067, allocations: 65.7 kB / 0.9896 GB, free: 3.98 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.001139/0.8078, allocations: 2.478 MB / 0.992 GB, free: 1.477 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.000685/0.8085, allocations: 0.7669 MB / 0.9928 GB, free: 0.7031 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005528/0.8091, allocations: 477.5 kB / 0.9932 GB, free: 236 kB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 9.924e-05/0.8092, allocations: 305.1 kB / 0.9935 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001754/0.8109, allocations: 1.376 MB / 0.9949 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001919/0.8129, allocations: 2.104 MB / 0.9969 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003377/0.8162, allocations: 3.77 MB / 1.001 GB, free: 8.055 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.557e-05/0.8162, allocations: 4 kB / 1.001 GB, free: 8.051 MB / 0.7761 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.005925/0.8222, allocations: 5.035 MB / 1.006 GB, free: 2.992 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.3e-05/0.8222, allocations: 16 kB / 1.006 GB, free: 2.977 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.685e-05/0.8222, allocations: 28 kB / 1.006 GB, free: 2.949 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002228/0.8245, allocations: 1.58 MB / 1.007 GB, free: 1.363 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001065/0.8255, allocations: 451.2 kB / 1.008 GB, free: 0.9219 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01779/0.8433, allocations: 17.92 MB / 1.025 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002857/0.8462, allocations: 147.9 kB / 1.025 GB, free: 14.4 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004503/0.8466, allocations: 112 kB / 1.025 GB, free: 14.29 MB / 0.8073 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.004627/0.8512, allocations: 1.941 MB / 1.027 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008174/0.8521, allocations: 302.2 kB / 1.027 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005474/0.8575, allocations: 4.396 MB / 1.032 GB, free: 7.609 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.574e-05/0.8576, allocations: 20 kB / 1.032 GB, free: 7.59 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.591e-05/0.8576, allocations: 16 kB / 1.032 GB, free: 7.574 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.323e-05/0.8576, allocations: 11.95 kB / 1.032 GB, free: 7.562 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0122/0.8698, allocations: 9.172 MB / 1.041 GB, free: 14.26 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.127e-06/0.8698, allocations: 8 kB / 1.041 GB, free: 14.25 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005601/0.8704, allocations: 231.6 kB / 1.041 GB, free: 14.02 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002089/0.8725, allocations: 1.423 MB / 1.042 GB, free: 12.59 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001224/0.8726, allocations: 40 kB / 1.042 GB, free: 12.55 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01951/0.8921, allocations: 17.91 MB / 1.06 GB, free: 10.18 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.492e-06/0.8921, allocations: 4 kB / 1.06 GB, free: 10.18 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005638/0.8977, allocations: 4.507 MB / 1.064 GB, free: 5.582 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00128/0.899, allocations: 0.5683 MB / 1.065 GB, free: 5.012 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002677/0.8993, allocations: 44 kB / 1.065 GB, free: 4.969 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007412/0.9, allocations: 115.8 kB / 1.065 GB, free: 4.855 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003967/0.9004, allocations: 193.3 kB / 1.065 GB, free: 4.668 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.863e-05/0.9005, allocations: 64 kB / 1.065 GB, free: 4.605 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.001372/0.9019, allocations: 1.311 MB / 1.067 GB, free: 3.285 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9019, allocations: 0 / 1.067 GB, free: 3.285 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.002717/0.9046, allocations: 1.145 MB / 1.068 GB, free: 2.141 MB / 0.8386 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.005065/0.9097, allocations: 5.11 MB / 1.073 GB, free: 12.93 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.005759/0.9154, allocations: 4.548 MB / 1.077 GB, free: 8.336 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.758e-05/0.9154, allocations: 4 kB / 1.077 GB, free: 8.332 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.003645/0.9191, allocations: 2.785 MB / 1.08 GB, free: 5.5 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002669/0.9218, allocations: 0.8931 MB / 1.081 GB, free: 4.633 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03919/0.9609, allocations: 30.57 MB / 1.111 GB, free: 4.855 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004088/0.965, allocations: 3.163 MB / 1.114 GB, free: 1.652 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001514/0.9665, allocations: 0.5518 MB / 1.114 GB, free: 1.094 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001803/0.9683, allocations: 1.952 MB / 1.116 GB, free: 15.14 MB / 0.9011 GB Notification: Performance of SimCode: time 2.054e-06/0.9684, allocations: 0 / 1.116 GB, free: 15.14 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4748/1.443, allocations: 90.53 MB / 1.204 GB, free: 258.4 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.638/10.08, allocations: 10.2 kB / 1.205 GB, free: 258.4 MB / 0.9167 GB " [Timeout remaining time 650] (rm -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.fmu > IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.275607851799577] Failed to read output from testmodel.py, exit status != 0: 10.200522292871028 10.210139263 9.526043904 Calling exit ...