Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0008112/0.0008112, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0009875/0.0009875, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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.8905/0.8905, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.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.703/0.703, allocations: 154.6 MB / 413.8 MB, free: 0.8125 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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.OnePhase.Lines.Examples.ACLine_L,fileNamePrefix="IDEAS_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_IDEAS_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.464e-06/2.464e-06, allocations: 0 / 0.6181 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.042e-05/2.288e-05, allocations: 6.75 kB / 0.6181 GB, free: 13.69 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.006822/0.006845, allocations: 5.819 MB / 0.6238 GB, free: 7.844 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.003452/0.0103, allocations: 3.086 MB / 0.6268 GB, free: 4.746 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003562/0.01065, allocations: 39.62 kB / 0.6268 GB, free: 4.707 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.001325/0.01198, allocations: 0.9364 MB / 0.6278 GB, free: 3.77 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0008431/0.01282, allocations: 0.4931 MB / 0.6282 GB, free: 3.273 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008364/0.01366, allocations: 486.5 kB / 0.6287 GB, free: 2.797 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.001054/0.01471, allocations: 1.127 MB / 0.6298 GB, free: 1.664 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006805/0.01539, allocations: 0.5061 MB / 0.6303 GB, free: 1.152 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006863/0.01608, allocations: 0.6116 MB / 0.6309 GB, free: 0.5391 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004614/0.01654, allocations: 426.8 kB / 0.6313 GB, free: 124 kB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 6.061e-05/0.0166, allocations: 56 kB / 0.6314 GB, free: 68 kB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006254/0.01723, allocations: 450.7 kB / 0.6318 GB, free: 15.62 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0002074/0.01743, allocations: 307.1 kB / 0.6321 GB, free: 15.32 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001926/0.01763, allocations: 279.3 kB / 0.6323 GB, free: 15.05 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0009916/0.01862, allocations: 1.203 MB / 0.6335 GB, free: 13.84 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.01862, allocations: 0 / 0.6335 GB, free: 13.84 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.593e-06/0.01862, allocations: 4 kB / 0.6335 GB, free: 13.84 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.683e-05/0.01864, allocations: 0 / 0.6335 GB, free: 13.84 MB / 0.6042 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.00133/0.01997, allocations: 0.9908 MB / 0.6345 GB, free: 12.82 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.02001, allocations: 12.03 kB / 0.6345 GB, free: 12.8 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000106/0.02012, allocations: 114.7 kB / 0.6346 GB, free: 12.68 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008347/0.02095, allocations: 224.2 kB / 0.6348 GB, free: 12.46 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006609/0.02161, allocations: 0.5158 MB / 0.6353 GB, free: 11.92 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.75e-05/0.02164, allocations: 49.67 kB / 0.6354 GB, free: 11.88 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.225e-05/0.02171, allocations: 60.36 kB / 0.6354 GB, free: 11.82 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00094/0.02265, allocations: 1.13 MB / 0.6365 GB, free: 10.55 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.462e-05/0.02268, allocations: 12.08 kB / 0.6365 GB, free: 10.54 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.342e-05/0.02272, allocations: 32.11 kB / 0.6366 GB, free: 10.51 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.421e-05/0.02279, allocations: 77.27 kB / 0.6367 GB, free: 10.44 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007265/0.02351, allocations: 0.6879 MB / 0.6373 GB, free: 9.746 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00312/0.02663, allocations: 4.495 MB / 0.6417 GB, free: 5.082 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005091/0.02714, allocations: 408.9 kB / 0.6421 GB, free: 4.676 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004785/0.02762, allocations: 391.9 kB / 0.6425 GB, free: 4.289 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.766e-05/0.02765, allocations: 8.625 kB / 0.6425 GB, free: 4.281 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/0.02768, allocations: 46.42 kB / 0.6425 GB, free: 4.227 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=41): time 2.124e-06/0.02768, allocations: 0 / 0.6425 GB, free: 4.227 MB / 0.6042 GB Notification: Performance of matching and sorting (n=42): time 0.00254/0.03022, allocations: 1.722 MB / 0.6442 GB, free: 2.484 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.79e-05/0.03025, allocations: 59.34 kB / 0.6443 GB, free: 2.414 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003562/0.03061, allocations: 462.7 kB / 0.6447 GB, free: 1.949 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.813e-05/0.03064, allocations: 33.7 kB / 0.6447 GB, free: 1.91 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002512/0.03089, allocations: 404 kB / 0.6451 GB, free: 1.512 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001103/0.031, allocations: 150.7 kB / 0.6453 GB, free: 1.363 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001117/0.03111, allocations: 110.2 kB / 0.6454 GB, free: 1.25 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.03123, allocations: 366.8 kB / 0.6457 GB, free: 0.8828 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002421/0.03147, allocations: 241.2 kB / 0.646 GB, free: 0.6445 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003719/0.03184, allocations: 464.9 kB / 0.6464 GB, free: 104 kB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006373/0.03248, allocations: 0.7454 MB / 0.6471 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.03248, allocations: 8 kB / 0.6471 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001098/0.03358, allocations: 1.051 MB / 0.6482 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.0336, allocations: 11.98 kB / 0.6482 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/0.03361, allocations: 11.94 kB / 0.6482 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000565/0.03417, allocations: 323.2 kB / 0.6485 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001674/0.03434, allocations: 91.83 kB / 0.6486 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004388/0.03873, allocations: 7.06 MB / 0.6555 GB, free: 6.219 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001827/0.03891, allocations: 32.02 kB / 0.6555 GB, free: 6.188 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.206e-05/0.03894, allocations: 28 kB / 0.6555 GB, free: 6.16 MB / 0.6198 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.0001971/0.03914, allocations: 238.6 kB / 0.6558 GB, free: 5.918 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.405e-05/0.03919, allocations: 67.56 kB / 0.6558 GB, free: 5.852 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009646/0.04016, allocations: 0.8963 MB / 0.6567 GB, free: 4.93 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.04016, allocations: 4 kB / 0.6567 GB, free: 4.926 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.04017, allocations: 4 kB / 0.6567 GB, free: 4.922 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.04017, allocations: 4 kB / 0.6567 GB, free: 4.918 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001551/0.04172, allocations: 1.602 MB / 0.6583 GB, free: 3.234 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.04172, allocations: 4 kB / 0.6583 GB, free: 3.23 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.917e-05/0.0418, allocations: 35.97 kB / 0.6583 GB, free: 3.195 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004788/0.04228, allocations: 315.3 kB / 0.6586 GB, free: 2.875 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.148e-05/0.0423, allocations: 12.06 kB / 0.6586 GB, free: 2.863 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004207/0.04651, allocations: 7.066 MB / 0.6655 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.04651, allocations: 4 kB / 0.6655 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009606/0.04747, allocations: 0.9812 MB / 0.6665 GB, free: 10.31 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001323/0.0476, allocations: 107.5 kB / 0.6666 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.241e-05/0.04764, allocations: 8 kB / 0.6666 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001323/0.04777, allocations: 19.97 kB / 0.6666 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001088/0.04788, allocations: 43.92 kB / 0.6667 GB, free: 10.13 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.66e-05/0.0479, allocations: 12 kB / 0.6667 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002245/0.04812, allocations: 306.9 kB / 0.667 GB, free: 9.824 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.04812, allocations: 3.938 kB / 0.667 GB, free: 9.82 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005581/0.04868, allocations: 196 kB / 0.6672 GB, free: 9.629 MB / 0.6355 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.001296/0.04997, allocations: 1.537 MB / 0.6687 GB, free: 8.035 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001189/0.05116, allocations: 1.152 MB / 0.6698 GB, free: 6.832 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.05117, allocations: 4.062 kB / 0.6698 GB, free: 6.828 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0006906/0.05186, allocations: 0.8385 MB / 0.6706 GB, free: 5.938 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006543/0.05251, allocations: 209.2 kB / 0.6708 GB, free: 5.75 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2603/0.3128, allocations: 5.85 MB / 0.6765 GB, free: 94.91 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002689/0.3131, allocations: 393 kB / 0.6769 GB, free: 94.82 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002643/0.3133, allocations: 93.66 kB / 0.677 GB, free: 94.82 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001564/0.3135, allocations: 224.7 kB / 0.6772 GB, free: 94.81 MB / 0.6355 GB Notification: Performance of SimCode: time 1.223e-06/0.3135, allocations: 0 / 0.6772 GB, free: 94.81 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0319/0.3454, allocations: 17.05 MB / 0.6938 GB, free: 92.92 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.088/7.434, allocations: 6.625 kB / 0.6938 GB, free: 92.92 MB / 0.6355 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Electrical_AC_OnePhase_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.fmu > IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.11887751892209] Failed to read output from testmodel.py, exit status != 0: 7.523893333040178 7.533412623 7.51290036 Calling exit ...