Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.0013/0.0013, allocations: 97.92 kB / 19.73 MB, free: 2.133 MB / 14.72 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.001439/0.001439, allocations: 212.6 kB / 23.02 MB, free: 4.953 MB / 14.72 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 1.445/1.445, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002502/0.002502, allocations: 294.6 kB / 313.5 MB, free: 2.633 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.251/1.251, allocations: 180.6 MB / 0.5377 GB, free: 14.64 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.00282/0.00282, allocations: 100.5 kB / 0.7403 GB, free: 28.07 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1891/0.1919, allocations: 95.38 MB / 0.8334 GB, free: 8.387 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.009217/0.2011, allocations: 5.91 MB / 0.8392 GB, free: 2.449 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005555/0.2067, allocations: 3.118 MB / 0.8422 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005829/0.2072, allocations: 39.62 kB / 0.8423 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002656/0.2099, allocations: 0.9323 MB / 0.8432 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001374/0.2113, allocations: 493.6 kB / 0.8436 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001317/0.2126, allocations: 484.9 kB / 0.8441 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0015/0.2141, allocations: 1.097 MB / 0.8452 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009465/0.215, allocations: 0.5181 MB / 0.8457 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008312/0.2159, allocations: 458.4 kB / 0.8461 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000828/0.2167, allocations: 494.1 kB / 0.8466 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000147/0.2168, allocations: 63.98 kB / 0.8467 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008759/0.2177, allocations: 451 kB / 0.8471 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003521/0.2181, allocations: 287.2 kB / 0.8474 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004792/0.2185, allocations: 334.4 kB / 0.8477 GB, free: 9.723 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001612/0.2202, allocations: 1.187 MB / 0.8488 GB, free: 8.531 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.2202, allocations: 7.984 kB / 0.8488 GB, free: 8.523 MB / 0.5919 GB Notification: Performance of FrontEnd: time 8.82e-07/0.2202, allocations: 0 / 0.8488 GB, free: 8.523 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.431e-05/0.2202, allocations: 0 / 0.8488 GB, free: 8.523 MB / 0.5919 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.001855/0.222, allocations: 0.987 MB / 0.8498 GB, free: 7.5 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.2221, allocations: 13.34 kB / 0.8498 GB, free: 7.488 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.372e-05/0.2221, allocations: 25.5 kB / 0.8498 GB, free: 7.465 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001435/0.2223, allocations: 114.6 kB / 0.85 GB, free: 7.344 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001601/0.2239, allocations: 232.1 kB / 0.8502 GB, free: 7.117 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000987/0.2249, allocations: 0.5127 MB / 0.8507 GB, free: 6.574 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.72e-05/0.2249, allocations: 49.61 kB / 0.8507 GB, free: 6.527 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001209/0.225, allocations: 64.36 kB / 0.8508 GB, free: 6.465 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001647/0.2267, allocations: 1.13 MB / 0.8519 GB, free: 5.199 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.15e-05/0.2267, allocations: 19.88 kB / 0.8519 GB, free: 5.18 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.791e-05/0.2268, allocations: 27.98 kB / 0.8519 GB, free: 5.152 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.428e-05/0.2269, allocations: 69.28 kB / 0.852 GB, free: 5.082 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001132/0.228, allocations: 0.6918 MB / 0.8527 GB, free: 4.387 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005028/0.2331, allocations: 4.502 MB / 0.8571 GB, free: 15.72 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008086/0.2339, allocations: 407 kB / 0.8575 GB, free: 15.31 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008246/0.2347, allocations: 392.6 kB / 0.8578 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.981e-05/0.2347, allocations: 8 kB / 0.8578 GB, free: 14.92 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.896e-05/0.2348, allocations: 42.5 kB / 0.8579 GB, free: 14.87 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=41): time 2.845e-06/0.2348, allocations: 0 / 0.8579 GB, free: 14.87 MB / 0.6075 GB Notification: Performance of matching and sorting (n=42): time 0.004293/0.2391, allocations: 1.714 MB / 0.8596 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.094e-05/0.2391, allocations: 55.41 kB / 0.8596 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005562/0.2397, allocations: 454.8 kB / 0.86 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.24e-05/0.2397, allocations: 29.7 kB / 0.8601 GB, free: 12.58 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003041/0.24, allocations: 396.1 kB / 0.8604 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001528/0.2402, allocations: 162.6 kB / 0.8606 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001776/0.2403, allocations: 110.2 kB / 0.8607 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001847/0.2405, allocations: 358.8 kB / 0.861 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003768/0.2409, allocations: 249.1 kB / 0.8613 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005487/0.2415, allocations: 457 kB / 0.8617 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001065/0.2425, allocations: 0.7441 MB / 0.8624 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/0.2425, allocations: 0 / 0.8624 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001957/0.2445, allocations: 1.034 MB / 0.8635 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.823e-05/0.2445, allocations: 15.92 kB / 0.8635 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.704e-05/0.2445, allocations: 8 kB / 0.8635 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00105/0.2456, allocations: 308 kB / 0.8638 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003305/0.2459, allocations: 99.81 kB / 0.8639 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007665/0.2536, allocations: 7.03 MB / 0.8707 GB, free: 0.9375 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004407/0.254, allocations: 32.02 kB / 0.8708 GB, free: 0.9062 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-05/0.2541, allocations: 28 kB / 0.8708 GB, free: 0.8789 MB / 0.6075 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.0003915/0.2545, allocations: 238.2 kB / 0.871 GB, free: 0.6367 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001327/0.2546, allocations: 67.56 kB / 0.8711 GB, free: 0.5703 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001751/0.2563, allocations: 0.8846 MB / 0.8719 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.2564, allocations: 8 kB / 0.872 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.146e-05/0.2564, allocations: 4.188 kB / 0.872 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.593e-06/0.2564, allocations: 3.984 kB / 0.872 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002777/0.2591, allocations: 1.586 MB / 0.8735 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.002e-06/0.2592, allocations: 3.984 kB / 0.8735 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001761/0.2593, allocations: 43.91 kB / 0.8736 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009365/0.2603, allocations: 299.6 kB / 0.8738 GB, free: 13.63 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.28e-05/0.2603, allocations: 8 kB / 0.8739 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00743/0.2677, allocations: 7.03 MB / 0.8807 GB, free: 6.137 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/0.2677, allocations: 4 kB / 0.8807 GB, free: 6.133 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001724/0.2695, allocations: 0.9692 MB / 0.8817 GB, free: 5.117 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002688/0.2697, allocations: 95.58 kB / 0.8818 GB, free: 5.023 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.083e-05/0.2698, allocations: 8 kB / 0.8818 GB, free: 5.016 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002895/0.2701, allocations: 31.91 kB / 0.8818 GB, free: 4.984 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001291/0.2702, allocations: 39.86 kB / 0.8818 GB, free: 4.945 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.239e-05/0.2703, allocations: 16 kB / 0.8818 GB, free: 4.93 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003586/0.2706, allocations: 302.9 kB / 0.8821 GB, free: 4.637 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2706, allocations: 0 / 0.8821 GB, free: 4.637 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000802/0.2714, allocations: 196 kB / 0.8823 GB, free: 4.445 MB / 0.6231 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.002064/0.2735, allocations: 1.533 MB / 0.8838 GB, free: 2.855 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002024/0.2755, allocations: 1.151 MB / 0.8849 GB, free: 1.652 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.2755, allocations: 0 / 0.8849 GB, free: 1.652 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001256/0.2768, allocations: 0.8308 MB / 0.8858 GB, free: 0.7695 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009678/0.2777, allocations: 214.9 kB / 0.886 GB, free: 0.5781 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008817/0.2866, allocations: 5.844 MB / 0.8917 GB, free: 10.41 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004751/0.287, allocations: 394.8 kB / 0.892 GB, free: 10 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0002941/0.2873, allocations: 97.17 kB / 0.8921 GB, free: 9.906 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002946/0.2876, allocations: 227.4 kB / 0.8924 GB, free: 9.684 MB / 0.6387 GB Notification: Performance of SimCode: time 6.71e-07/0.2876, allocations: 0 / 0.8924 GB, free: 9.684 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0551/0.3427, allocations: 16.7 MB / 0.9087 GB, free: 9.383 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.46/12.8, allocations: 11.98 kB / 0.9087 GB, free: 9.371 MB / 0.6544 GB " [Timeout remaining time 647] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.fmu > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.07951803994365] Failed to read output from testmodel.py, exit status != 0: 12.974073995952494 12.990405944 12.767075051 Calling exit ...