Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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.001351/0.001351, allocations: 116.8 kB / 17.16 MB, free: 5.895 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.001324/0.001324, allocations: 212 kB / 20.13 MB, free: 2.949 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.492/1.492, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.003374/0.003374, allocations: 288.7 kB / 309.8 MB, free: 3.41 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.09/1.09, allocations: 180.6 MB / 0.5338 GB, free: 12.39 MB / 398.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.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",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.002965/0.002965, allocations: 100.3 kB / 0.7347 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5595/0.5624, allocations: 95.34 MB / 0.8278 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01219/0.5746, allocations: 10.18 MB / 0.8377 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.006616/0.5812, allocations: 3.115 MB / 0.8408 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00118/0.5824, allocations: 47.5 kB / 0.8408 GB, free: 9.992 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002286/0.5847, allocations: 0.6947 MB / 0.8415 GB, free: 9.59 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002269/0.587, allocations: 0.7228 MB / 0.8422 GB, free: 9.172 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001937/0.5889, allocations: 0.6417 MB / 0.8428 GB, free: 8.84 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004192/0.5931, allocations: 2.734 MB / 0.8455 GB, free: 7.68 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00386/0.597, allocations: 1.902 MB / 0.8474 GB, free: 6.93 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002914/0.5999, allocations: 1.155 MB / 0.8485 GB, free: 6.434 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003228/0.6031, allocations: 1.492 MB / 0.8499 GB, free: 5.867 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0007366/0.6038, allocations: 217.6 kB / 0.8501 GB, free: 5.867 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001794/0.6056, allocations: 0.4891 MB / 0.8506 GB, free: 5.766 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001614/0.6073, allocations: 1.002 MB / 0.8516 GB, free: 5.379 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001869/0.6091, allocations: 1.023 MB / 0.8526 GB, free: 4.734 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.005468/0.6146, allocations: 3.413 MB / 0.8559 GB, free: 3.129 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.6146, allocations: 1.219 kB / 0.8559 GB, free: 3.129 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.873e-06/0.6146, allocations: 0 / 0.8559 GB, free: 3.129 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001098/0.6147, allocations: 4 kB / 0.8559 GB, free: 3.125 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: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.005499/0.6202, allocations: 1.988 MB / 0.8579 GB, free: 1.684 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.6203, allocations: 14.22 kB / 0.8579 GB, free: 1.68 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.049e-05/0.6203, allocations: 39.41 kB / 0.8579 GB, free: 1.676 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005385/0.6209, allocations: 253.7 kB / 0.8582 GB, free: 1.488 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006579/0.6274, allocations: 0.8974 MB / 0.8591 GB, free: 1.051 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003017/0.6305, allocations: 1.166 MB / 0.8602 GB, free: 268 kB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000103/0.6306, allocations: 112.9 kB / 0.8603 GB, free: 212 kB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004697/0.631, allocations: 151.1 kB / 0.8604 GB, free: 156 kB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006534/0.6376, allocations: 3.02 MB / 0.8634 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.076e-05/0.6376, allocations: 5.406 kB / 0.8634 GB, free: 14.35 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002476/0.6379, allocations: 62.97 kB / 0.8635 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002882/0.6382, allocations: 177.9 kB / 0.8636 GB, free: 14.25 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005901/0.6441, allocations: 2.612 MB / 0.8662 GB, free: 12.95 MB / 0.6075 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02221/0.6663, allocations: 13.5 MB / 0.8794 GB, free: 1.434 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002647/0.6689, allocations: 1.227 MB / 0.8806 GB, free: 0.8086 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001657/0.6706, allocations: 0.9789 MB / 0.8815 GB, free: 348 kB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.125e-05/0.6707, allocations: 9.031 kB / 0.8815 GB, free: 348 kB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.847e-05/0.6707, allocations: 42.12 kB / 0.8816 GB, free: 300 kB / 0.6075 GB Notification: Performance of pre-optimization done (n=82): time 2.505e-06/0.6707, allocations: 0 / 0.8816 GB, free: 300 kB / 0.6075 GB Notification: Performance of matching and sorting (n=139): time 0.08129/0.752, allocations: 19.34 MB / 0.9005 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.946e-05/0.7521, allocations: 68.66 kB / 0.9005 GB, free: 14.15 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001566/0.7536, allocations: 0.9145 MB / 0.9014 GB, free: 13.23 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0002557/0.7539, allocations: 49.7 kB / 0.9015 GB, free: 13.17 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005685/0.7544, allocations: 0.754 MB / 0.9022 GB, free: 12.41 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005896/0.755, allocations: 0.4919 MB / 0.9027 GB, free: 11.91 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000685/0.7557, allocations: 299.4 kB / 0.903 GB, free: 11.61 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001817/0.7559, allocations: 357.9 kB / 0.9033 GB, free: 11.26 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002147/0.7581, allocations: 1.335 MB / 0.9046 GB, free: 9.922 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002428/0.7605, allocations: 1.655 MB / 0.9062 GB, free: 8.156 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004777/0.7653, allocations: 3.08 MB / 0.9092 GB, free: 4.957 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.474e-05/0.7653, allocations: 8 kB / 0.9092 GB, free: 4.949 MB / 0.6387 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01367/0.7789, allocations: 5.555 MB / 0.9147 GB, free: 15.37 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.188e-05/0.779, allocations: 11.94 kB / 0.9147 GB, free: 15.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.695e-05/0.779, allocations: 11.98 kB / 0.9147 GB, free: 15.34 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009733/0.7887, allocations: 2.717 MB / 0.9173 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009241/0.7897, allocations: 191.7 kB / 0.9175 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03903/0.8287, allocations: 25.73 MB / 0.9427 GB, free: 2.133 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001645/0.8303, allocations: 103.9 kB / 0.9428 GB, free: 2.031 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001787/0.8305, allocations: 56 kB / 0.9428 GB, free: 1.977 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (99): * Single equations (assignments): 95 * 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,12,100.0%), (6,12,100.0%), (6,24,100.0%), (6,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001293/0.8318, allocations: 0.7354 MB / 0.9435 GB, free: 1.23 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002832/0.8321, allocations: 123.2 kB / 0.9436 GB, free: 1.109 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01225/0.8443, allocations: 5.314 MB / 0.9488 GB, free: 11.76 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.941e-05/0.8444, allocations: 12 kB / 0.9488 GB, free: 11.75 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.532e-05/0.8444, allocations: 20.5 kB / 0.9489 GB, free: 11.73 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.261e-05/0.8444, allocations: 3.984 kB / 0.9489 GB, free: 11.73 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01756/0.862, allocations: 8.619 MB / 0.9573 GB, free: 2.984 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.557e-05/0.862, allocations: 8 kB / 0.9573 GB, free: 2.977 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004926/0.8625, allocations: 127.7 kB / 0.9574 GB, free: 2.852 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009085/0.8716, allocations: 2.59 MB / 0.9599 GB, free: 256 kB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001557/0.8717, allocations: 24 kB / 0.96 GB, free: 232 kB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0367/0.9084, allocations: 24.16 MB / 0.9836 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.123e-06/0.9084, allocations: 7.938 kB / 0.9836 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01212/0.9206, allocations: 5.187 MB / 0.9886 GB, free: 2.219 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001344/0.9219, allocations: 488.2 kB / 0.9891 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002411/0.9221, allocations: 32 kB / 0.9891 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00105/0.9232, allocations: 75.89 kB / 0.9892 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006563/0.9238, allocations: 121 kB / 0.9893 GB, free: 1.496 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000114/0.924, allocations: 32 kB / 0.9893 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.00104/0.925, allocations: 0.6474 MB / 0.99 GB, free: 0.8203 MB / 0.7169 GB Notification: Performance of sort global known variables: time 8e-08/0.925, allocations: 0 / 0.99 GB, free: 0.8203 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002856/0.9279, allocations: 0.7227 MB / 0.9907 GB, free: 100 kB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (62): * Single equations (assignments): 58 * 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,12,100.0%), (6,24,100.0%), (6,6,100.0%), (10,14,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01206/0.9399, allocations: 5.761 MB / 0.9963 GB, free: 10.25 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.007749/0.9477, allocations: 4.082 MB / 1 GB, free: 6.109 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.9477, allocations: 0 / 1 GB, free: 6.109 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.005599/0.9533, allocations: 2.607 MB / 1.003 GB, free: 3.453 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001546/0.9548, allocations: 219.8 kB / 1.003 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04181/0.9966, allocations: 21.3 MB / 1.024 GB, free: 13.47 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00226/0.9989, allocations: 1.707 MB / 1.026 GB, free: 11.73 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.000869/0.9998, allocations: 325.4 kB / 1.026 GB, free: 11.41 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008165/1.001, allocations: 0.5305 MB / 1.026 GB, free: 10.88 MB / 0.7637 GB Notification: Performance of SimCode: time 7.62e-07/1.001, allocations: 0 / 1.026 GB, free: 10.88 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.101/1.102, allocations: 53.15 MB / 1.078 GB, free: 6.168 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.36/13.46, allocations: 19.25 kB / 1.078 GB, free: 6.152 MB / 0.8106 GB " [Timeout remaining time 646] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.678645729960408] Failed to read output from testmodel.py, exit status != 0: 13.628954234998673 13.652570969 13.033349185 Calling exit ...