Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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.001256/0.001256, allocations: 109.9 kB / 18.93 MB, free: 1.266 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.001072/0.001072, allocations: 218.3 kB / 22.26 MB, free: 3.695 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.9806/0.9806, allocations: 230.6 MB / 256 MB, free: 9.641 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8042/0.8042, allocations: 203.8 MB / 0.5042 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 master/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.OnePhase.Lines.Examples.ACLine_L,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",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.0009851/0.0009851, allocations: 66.91 kB / 0.7182 GB, free: 4.355 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4859/0.4869, allocations: 102 MB / 0.8179 GB, free: 1.254 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.005859/0.4928, allocations: 6.34 MB / 0.8241 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004803/0.4976, allocations: 3.309 MB / 0.8273 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006082/0.4982, allocations: 41.47 kB / 0.8273 GB, free: 10.81 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001943/0.5001, allocations: 0.9756 MB / 0.8283 GB, free: 10.23 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001227/0.5014, allocations: 495.8 kB / 0.8288 GB, free: 9.945 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001114/0.5025, allocations: 497.1 kB / 0.8292 GB, free: 9.699 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001315/0.5038, allocations: 1.095 MB / 0.8303 GB, free: 9.203 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008053/0.5046, allocations: 0.5043 MB / 0.8308 GB, free: 8.969 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000741/0.5053, allocations: 455.3 kB / 0.8312 GB, free: 8.777 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007365/0.5061, allocations: 0.4937 MB / 0.8317 GB, free: 8.57 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001463/0.5062, allocations: 58.12 kB / 0.8318 GB, free: 8.57 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00102/0.5073, allocations: 499.2 kB / 0.8322 GB, free: 8.406 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002789/0.5075, allocations: 295.4 kB / 0.8325 GB, free: 8.285 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.000399/0.5079, allocations: 405.5 kB / 0.8329 GB, free: 8.043 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001473/0.5094, allocations: 1.177 MB / 0.8341 GB, free: 7.633 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.5094, allocations: 0 / 0.8341 GB, free: 7.633 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.552e-06/0.5094, allocations: 1.156 kB / 0.8341 GB, free: 7.633 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.302e-05/0.5094, allocations: 0 / 0.8341 GB, free: 7.633 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001596/0.511, allocations: 1.002 MB / 0.835 GB, free: 6.934 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.5111, allocations: 9.562 kB / 0.8351 GB, free: 6.934 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001246/0.5112, allocations: 116.6 kB / 0.8352 GB, free: 6.852 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009973/0.5122, allocations: 223.4 kB / 0.8354 GB, free: 6.797 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007945/0.513, allocations: 0.5168 MB / 0.8359 GB, free: 6.473 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.477e-05/0.513, allocations: 43.34 kB / 0.8359 GB, free: 6.453 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.069e-05/0.5131, allocations: 64.73 kB / 0.836 GB, free: 6.43 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001175/0.5143, allocations: 1.029 MB / 0.837 GB, free: 5.832 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.152e-05/0.5143, allocations: 11.69 kB / 0.837 GB, free: 5.824 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.563e-05/0.5144, allocations: 33.56 kB / 0.837 GB, free: 5.801 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.222e-05/0.5144, allocations: 65.41 kB / 0.8371 GB, free: 5.797 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009258/0.5154, allocations: 0.699 MB / 0.8378 GB, free: 5.543 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003797/0.5192, allocations: 5.658 MB / 0.8433 GB, free: 400 kB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005828/0.5198, allocations: 421.1 kB / 0.8437 GB, free: 168 kB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005134/0.5203, allocations: 395.9 kB / 0.8441 GB, free: 15.98 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.069e-05/0.5203, allocations: 4.125 kB / 0.8441 GB, free: 15.98 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.051e-05/0.5203, allocations: 39.88 kB / 0.8441 GB, free: 15.93 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=41): time 1.783e-06/0.5203, allocations: 5.375 kB / 0.8441 GB, free: 15.93 MB / 0.6355 GB Notification: Performance of matching and sorting (n=42): time 0.002665/0.523, allocations: 1.704 MB / 0.8458 GB, free: 14.99 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.123e-05/0.523, allocations: 55.88 kB / 0.8458 GB, free: 14.93 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003855/0.5234, allocations: 462.5 kB / 0.8463 GB, free: 14.64 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.875e-05/0.5234, allocations: 30.92 kB / 0.8463 GB, free: 14.61 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002176/0.5236, allocations: 398.8 kB / 0.8467 GB, free: 14.25 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.73e-05/0.5237, allocations: 153.3 kB / 0.8468 GB, free: 14.12 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001127/0.5238, allocations: 121.4 kB / 0.847 GB, free: 14.04 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.5239, allocations: 363.4 kB / 0.8473 GB, free: 13.69 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002426/0.5242, allocations: 246.9 kB / 0.8475 GB, free: 13.57 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003254/0.5245, allocations: 454.2 kB / 0.848 GB, free: 13.18 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006219/0.5251, allocations: 0.74 MB / 0.8487 GB, free: 12.62 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.5251, allocations: 1.156 kB / 0.8487 GB, free: 12.62 MB / 0.6355 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001166/0.5263, allocations: 1.036 MB / 0.8497 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.5263, allocations: 8.188 kB / 0.8497 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/0.5263, allocations: 15.64 kB / 0.8497 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005704/0.5269, allocations: 318.8 kB / 0.85 GB, free: 11.87 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001847/0.5271, allocations: 100.3 kB / 0.8501 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004516/0.5316, allocations: 7.06 MB / 0.857 GB, free: 5.516 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003235/0.5319, allocations: 34.95 kB / 0.8571 GB, free: 5.496 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.974e-05/0.532, allocations: 25.56 kB / 0.8571 GB, free: 5.492 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (53): * Single equations (assignments): 49 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003012/0.5323, allocations: 248.3 kB / 0.8573 GB, free: 5.293 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.01e-05/0.5323, allocations: 60.61 kB / 0.8574 GB, free: 5.262 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001049/0.5334, allocations: 0.8806 MB / 0.8582 GB, free: 4.719 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.5334, allocations: 7.531 kB / 0.8582 GB, free: 4.715 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.874e-06/0.5334, allocations: 5.219 kB / 0.8582 GB, free: 4.715 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.5334, allocations: 3.984 kB / 0.8583 GB, free: 4.711 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00189/0.5353, allocations: 1.634 MB / 0.8598 GB, free: 3.613 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.5353, allocations: 1.562 kB / 0.8599 GB, free: 3.613 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.762e-05/0.5354, allocations: 41.41 kB / 0.8599 GB, free: 3.602 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004896/0.5359, allocations: 311.9 kB / 0.8602 GB, free: 3.434 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.267e-05/0.5359, allocations: 6.531 kB / 0.8602 GB, free: 3.43 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004273/0.5402, allocations: 7.063 MB / 0.8671 GB, free: 13.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.5402, allocations: 6.688 kB / 0.8671 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001273/0.5415, allocations: 0.9726 MB / 0.868 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001886/0.5416, allocations: 95.45 kB / 0.8681 GB, free: 12.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.673e-05/0.5417, allocations: 15.73 kB / 0.8682 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000138/0.5418, allocations: 25.8 kB / 0.8682 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.33e-05/0.5419, allocations: 45.55 kB / 0.8682 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.63e-05/0.5419, allocations: 9.188 kB / 0.8682 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002517/0.5422, allocations: 309.3 kB / 0.8685 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5422, allocations: 0 / 0.8685 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0006225/0.5428, allocations: 193.5 kB / 0.8687 GB, free: 12.14 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 19 * 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 {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001138/0.5439, allocations: 1.54 MB / 0.8702 GB, free: 10.94 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001159/0.5451, allocations: 1.146 MB / 0.8713 GB, free: 10.13 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.5451, allocations: 1.469 kB / 0.8713 GB, free: 10.13 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0006485/0.5457, allocations: 0.8358 MB / 0.8721 GB, free: 9.457 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006049/0.5463, allocations: 209 kB / 0.8723 GB, free: 9.355 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005672/0.552, allocations: 5.841 MB / 0.8781 GB, free: 5.262 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005946/0.5526, allocations: 0.9935 MB / 0.879 GB, free: 4.414 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002648/0.5529, allocations: 98.55 kB / 0.8791 GB, free: 4.367 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001795/0.5531, allocations: 222.3 kB / 0.8793 GB, free: 4.176 MB / 0.6511 GB Notification: Performance of SimCode: time 1.362e-06/0.5531, allocations: 0 / 0.8793 GB, free: 4.176 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04178/0.5948, allocations: 15.87 MB / 0.8948 GB, free: 4.973 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.587/8.181, allocations: 6.812 kB / 0.8948 GB, free: 4.969 MB / 0.6667 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.fmu > IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.111661253031343] Failed to read output from testmodel.py, exit status != 0: 8.269887720933184 8.279490809 7.767907717 Calling exit ...