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.001345/0.001345, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001517/0.001517, allocations: 211.3 kB / 22.24 MB, free: 4.855 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.475/1.475, allocations: 230.6 MB / 256 MB, free: 7.805 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.002633/0.002633, allocations: 285.2 kB / 312.7 MB, free: 2.711 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.256/1.256, allocations: 180.7 MB / 0.5369 GB, free: 14.46 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.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",fmuType="me",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="me",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.003038/0.003038, allocations: 99.12 kB / 0.7395 GB, free: 28.43 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1572/0.1603, allocations: 95.39 MB / 0.8327 GB, free: 8.246 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01296/0.1732, allocations: 9.658 MB / 0.8421 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.005729/0.179, allocations: 3.018 MB / 0.845 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005613/0.1795, allocations: 47.69 kB / 0.8451 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001986/0.1815, allocations: 0.6901 MB / 0.8457 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001498/0.183, allocations: 0.7351 MB / 0.8465 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001393/0.1844, allocations: 0.6335 MB / 0.8471 GB, free: 9.41 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003219/0.1876, allocations: 2.727 MB / 0.8497 GB, free: 6.676 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001989/0.1896, allocations: 1.371 MB / 0.8511 GB, free: 5.258 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00182/0.1914, allocations: 1.165 MB / 0.8522 GB, free: 4.09 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002377/0.1938, allocations: 1.421 MB / 0.8536 GB, free: 2.664 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003979/0.1942, allocations: 220 kB / 0.8538 GB, free: 2.449 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009994/0.1952, allocations: 471.3 kB / 0.8543 GB, free: 1.988 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000998/0.1962, allocations: 1.005 MB / 0.8553 GB, free: 0.9805 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001037/0.1972, allocations: 0.8404 MB / 0.8561 GB, free: 140 kB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003804/0.201, allocations: 3.427 MB / 0.8594 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.201, allocations: 0 / 0.8594 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.435e-06/0.2011, allocations: 4 kB / 0.8594 GB, free: 12.69 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.922e-05/0.2011, allocations: 0 / 0.8594 GB, free: 12.69 MB / 0.6075 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.003861/0.205, allocations: 1.913 MB / 0.8613 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.205, allocations: 9.344 kB / 0.8613 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003304/0.2054, allocations: 248.7 kB / 0.8615 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005916/0.2113, allocations: 0.9009 MB / 0.8624 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002778/0.214, allocations: 1.12 MB / 0.8635 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001073/0.2142, allocations: 115.3 kB / 0.8636 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003468/0.2145, allocations: 144.3 kB / 0.8638 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005274/0.2198, allocations: 3.088 MB / 0.8668 GB, free: 4.965 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.965e-05/0.2198, allocations: 4 kB / 0.8668 GB, free: 4.961 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000202/0.22, allocations: 67.97 kB / 0.8668 GB, free: 4.895 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002442/0.2203, allocations: 175 kB / 0.867 GB, free: 4.723 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006547/0.2268, allocations: 2.604 MB / 0.8696 GB, free: 2.113 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.01814/0.2449, allocations: 9.336 MB / 0.8787 GB, free: 8.551 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002107/0.2471, allocations: 1.223 MB / 0.8799 GB, free: 7.312 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0015/0.2486, allocations: 0.9761 MB / 0.8808 GB, free: 6.336 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 6.809e-05/0.2486, allocations: 8.656 kB / 0.8808 GB, free: 6.328 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.954e-05/0.2487, allocations: 51.22 kB / 0.8809 GB, free: 6.27 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=82): time 2.815e-06/0.2487, allocations: 0 / 0.8809 GB, free: 6.27 MB / 0.6231 GB Notification: Performance of matching and sorting (n=139): time 0.07861/0.3273, allocations: 18.88 MB / 0.8993 GB, free: 3.355 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.948e-05/0.3273, allocations: 68.72 kB / 0.8994 GB, free: 3.273 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001304/0.3286, allocations: 0.9415 MB / 0.9003 GB, free: 2.32 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001445/0.3288, allocations: 49.7 kB / 0.9003 GB, free: 2.266 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005682/0.3294, allocations: 0.7501 MB / 0.9011 GB, free: 1.504 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005073/0.3299, allocations: 0.4996 MB / 0.9016 GB, free: 1 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005871/0.3304, allocations: 291.5 kB / 0.9018 GB, free: 0.707 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001772/0.3306, allocations: 353.9 kB / 0.9022 GB, free: 364 kB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002136/0.3328, allocations: 1.339 MB / 0.9035 GB, free: 15.02 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002351/0.3351, allocations: 1.656 MB / 0.9051 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004455/0.3396, allocations: 3.084 MB / 0.9081 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/0.3396, allocations: 0 / 0.9081 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01262/0.3522, allocations: 5.563 MB / 0.9136 GB, free: 4.457 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.415e-05/0.3522, allocations: 15.94 kB / 0.9136 GB, free: 4.441 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.876e-05/0.3522, allocations: 8 kB / 0.9136 GB, free: 4.434 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009528/0.3618, allocations: 2.717 MB / 0.9162 GB, free: 1.707 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008778/0.3627, allocations: 187.7 kB / 0.9164 GB, free: 1.523 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04091/0.4036, allocations: 25 MB / 0.9408 GB, free: 8.066 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001551/0.4051, allocations: 99.89 kB / 0.9409 GB, free: 7.969 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001555/0.4053, allocations: 56 kB / 0.941 GB, free: 7.914 MB / 0.6856 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.001187/0.4065, allocations: 0.7354 MB / 0.9417 GB, free: 7.168 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002545/0.4067, allocations: 127.2 kB / 0.9418 GB, free: 7.043 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01232/0.419, allocations: 5.302 MB / 0.947 GB, free: 1.707 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.931e-05/0.419, allocations: 12 kB / 0.947 GB, free: 1.695 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.716e-05/0.4191, allocations: 20 kB / 0.947 GB, free: 1.676 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.265e-05/0.4191, allocations: 7.969 kB / 0.947 GB, free: 1.668 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01796/0.4371, allocations: 8.271 MB / 0.9551 GB, free: 9.273 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.602e-05/0.4371, allocations: 4 kB / 0.9551 GB, free: 9.27 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005353/0.4376, allocations: 119.8 kB / 0.9552 GB, free: 9.152 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009072/0.4467, allocations: 2.578 MB / 0.9577 GB, free: 6.566 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002079/0.4469, allocations: 24 kB / 0.9578 GB, free: 6.543 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3745/0.8214, allocations: 23.45 MB / 0.9807 GB, free: 133.9 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.65e-06/0.8214, allocations: 6.938 kB / 0.9807 GB, free: 133.9 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0109/0.8323, allocations: 5.182 MB / 0.9857 GB, free: 133.5 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00119/0.8335, allocations: 431.5 kB / 0.9861 GB, free: 133.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002296/0.8337, allocations: 31.59 kB / 0.9862 GB, free: 133.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009609/0.8347, allocations: 76.88 kB / 0.9862 GB, free: 133.5 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004856/0.8352, allocations: 130.1 kB / 0.9864 GB, free: 133.5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001013/0.8353, allocations: 37.41 kB / 0.9864 GB, free: 133.5 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0007771/0.836, allocations: 0.6436 MB / 0.987 GB, free: 133.4 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.836, allocations: 2.344 kB / 0.987 GB, free: 133.4 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002169/0.8382, allocations: 0.7212 MB / 0.9877 GB, free: 133.4 MB / 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.01298/0.8512, allocations: 5.75 MB / 0.9934 GB, free: 131.7 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.007002/0.8582, allocations: 4.077 MB / 0.9973 GB, free: 130.1 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/0.8582, allocations: 3.406 kB / 0.9973 GB, free: 130.1 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.00505/0.8632, allocations: 2.609 MB / 0.9999 GB, free: 128.9 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001385/0.8646, allocations: 224.1 kB / 1 GB, free: 128.9 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03241/0.897, allocations: 21.34 MB / 1.021 GB, free: 115 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001111/0.8981, allocations: 1.117 MB / 1.022 GB, free: 113.8 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0007646/0.8989, allocations: 321.3 kB / 1.022 GB, free: 113.5 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005467/0.8995, allocations: 0.5321 MB / 1.023 GB, free: 113 MB / 0.7169 GB Notification: Performance of SimCode: time 1.422e-06/0.8995, allocations: 4 kB / 1.023 GB, free: 113 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08524/0.9847, allocations: 55.93 MB / 1.077 GB, free: 57.55 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.58/13.56, allocations: 7.266 kB / 1.077 GB, free: 57.55 MB / 0.7169 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.85991899203509] Failed to read output from testmodel.py, exit status != 0: 13.702832389157265 13.724056227 13.519225661 Calling exit ...