Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.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.002037/0.002037, allocations: 103.6 kB / 18.95 MB, free: 2.688 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.002503/0.002503, allocations: 216.5 kB / 22.24 MB, free: 5.242 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.402/1.402, allocations: 230.6 MB / 256 MB, free: 7.785 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.002512/0.002512, allocations: 288 kB / 312.7 MB, free: 2.594 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.174/1.174, allocations: 180.6 MB / 0.5369 GB, free: 14.48 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,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Lines_Examples_ACLine",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.002861/0.002861, allocations: 107 kB / 0.7395 GB, free: 28.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1679/0.1708, allocations: 95.38 MB / 0.8326 GB, free: 8.316 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01487/0.1857, allocations: 10.34 MB / 0.8427 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01437/0.2001, allocations: 8.489 MB / 0.851 GB, free: 5.414 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001264/0.2013, allocations: 79.31 kB / 0.8511 GB, free: 5.336 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0046/0.2059, allocations: 1.682 MB / 0.8528 GB, free: 3.652 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00482/0.2107, allocations: 1.561 MB / 0.8543 GB, free: 2.09 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001883/0.2126, allocations: 0.6764 MB / 0.8549 GB, free: 1.414 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003091/0.2157, allocations: 2.289 MB / 0.8572 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001629/0.2173, allocations: 1.145 MB / 0.8583 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001601/0.2189, allocations: 1.024 MB / 0.8593 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001576/0.2205, allocations: 1.008 MB / 0.8603 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002262/0.2207, allocations: 139.9 kB / 0.8604 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001575/0.2223, allocations: 0.7408 MB / 0.8611 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0006126/0.2229, allocations: 0.5802 MB / 0.8617 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0008276/0.2238, allocations: 0.7231 MB / 0.8624 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003044/0.2268, allocations: 2.603 MB / 0.8649 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.738e-06/0.2268, allocations: 0 / 0.8649 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2268, allocations: 0 / 0.8649 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.03e-05/0.2268, allocations: 0 / 0.8649 GB, free: 7.094 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: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.003511/0.2304, allocations: 1.995 MB / 0.8669 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.2304, allocations: 9.938 kB / 0.8669 GB, free: 5.051 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002384/0.2306, allocations: 194.1 kB / 0.8671 GB, free: 4.852 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01118/0.2418, allocations: 2.055 MB / 0.8691 GB, free: 2.793 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00274/0.2446, allocations: 1.137 MB / 0.8702 GB, free: 1.605 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.703e-05/0.2446, allocations: 90.69 kB / 0.8703 GB, free: 1.516 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002403/0.2449, allocations: 119.9 kB / 0.8704 GB, free: 1.398 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005918/0.2508, allocations: 2.881 MB / 0.8732 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.126e-05/0.2508, allocations: 11.94 kB / 0.8732 GB, free: 14.26 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000148/0.251, allocations: 51.98 kB / 0.8733 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003827/0.2514, allocations: 134.1 kB / 0.8734 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007469/0.2588, allocations: 2.529 MB / 0.8759 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01347/0.2723, allocations: 7.64 MB / 0.8833 GB, free: 3.711 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006424/0.2787, allocations: 1.849 MB / 0.8851 GB, free: 1.852 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002844/0.2816, allocations: 0.9464 MB / 0.8861 GB, free: 0.9023 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.866e-05/0.2816, allocations: 4.438 kB / 0.8861 GB, free: 0.8984 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.029e-05/0.2817, allocations: 39 kB / 0.8861 GB, free: 0.8516 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=53): time 2.535e-06/0.2817, allocations: 0 / 0.8861 GB, free: 0.8516 MB / 0.6231 GB Notification: Performance of matching and sorting (n=81): time 0.03245/0.3141, allocations: 8.646 MB / 0.8946 GB, free: 8.168 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.207e-05/0.3142, allocations: 64 kB / 0.8946 GB, free: 8.094 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001721/0.3159, allocations: 1.116 MB / 0.8957 GB, free: 6.961 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001733/0.3161, allocations: 41.7 kB / 0.8957 GB, free: 6.914 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006641/0.3167, allocations: 0.7473 MB / 0.8965 GB, free: 6.16 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003531/0.3171, allocations: 293.5 kB / 0.8968 GB, free: 5.871 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004125/0.3175, allocations: 198.5 kB / 0.8969 GB, free: 5.672 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001849/0.3177, allocations: 349.9 kB / 0.8973 GB, free: 5.324 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003272/0.3209, allocations: 1.071 MB / 0.8983 GB, free: 4.254 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003376/0.3243, allocations: 1.305 MB / 0.8996 GB, free: 2.848 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00636/0.3307, allocations: 2.378 MB / 0.9019 GB, free: 384 kB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.554e-06/0.3307, allocations: 4 kB / 0.9019 GB, free: 380 kB / 0.6387 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.009318/0.34, allocations: 3.258 MB / 0.9051 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.765e-05/0.34, allocations: 8 kB / 0.9051 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.547e-05/0.34, allocations: 8 kB / 0.9051 GB, free: 13.06 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002891/0.3429, allocations: 0.7875 MB / 0.9059 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001961/0.3449, allocations: 415.2 kB / 0.9063 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01736/0.3623, allocations: 14.99 MB / 0.9209 GB, free: 11.94 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00244/0.3647, allocations: 291.5 kB / 0.9212 GB, free: 11.66 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001416/0.3648, allocations: 47.97 kB / 0.9212 GB, free: 11.61 MB / 0.67 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,2,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007845/0.3656, allocations: 404.3 kB / 0.9216 GB, free: 11.21 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002902/0.3659, allocations: 151.1 kB / 0.9218 GB, free: 11.06 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00927/0.3752, allocations: 3.175 MB / 0.9249 GB, free: 7.848 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.739e-05/0.3752, allocations: 8.188 kB / 0.9249 GB, free: 7.84 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.042e-05/0.3752, allocations: 8 kB / 0.9249 GB, free: 7.832 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.588e-05/0.3752, allocations: 7.969 kB / 0.9249 GB, free: 7.824 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01268/0.3879, allocations: 4.635 MB / 0.9294 GB, free: 3.062 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.207e-06/0.3879, allocations: 4 kB / 0.9294 GB, free: 3.059 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001659/0.3896, allocations: 355.7 kB / 0.9298 GB, free: 2.711 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002489/0.3921, allocations: 0.6896 MB / 0.9304 GB, free: 1.996 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001043/0.3922, allocations: 31.97 kB / 0.9305 GB, free: 1.965 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0168/0.409, allocations: 14.6 MB / 0.9447 GB, free: 2.445 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.409, allocations: 0 / 0.9447 GB, free: 2.445 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008789/0.4178, allocations: 3.032 MB / 0.9477 GB, free: 15.33 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001099/0.4189, allocations: 310.9 kB / 0.948 GB, free: 15.03 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00023/0.4191, allocations: 16 kB / 0.948 GB, free: 15.01 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001958/0.4211, allocations: 299.4 kB / 0.9483 GB, free: 14.72 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003021/0.4214, allocations: 84.44 kB / 0.9484 GB, free: 14.64 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.791e-05/0.4215, allocations: 35.97 kB / 0.9484 GB, free: 14.6 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.00117/0.4226, allocations: 0.7405 MB / 0.9491 GB, free: 13.86 MB / 0.7012 GB Notification: Performance of sort global known variables: time 8e-08/0.4226, allocations: 0 / 0.9491 GB, free: 13.86 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001672/0.4243, allocations: 435.9 kB / 0.9495 GB, free: 13.43 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,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.008913/0.4332, allocations: 3.6 MB / 0.9531 GB, free: 9.746 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.009013/0.4422, allocations: 3.519 MB / 0.9565 GB, free: 6.117 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 9.968e-06/0.4422, allocations: 4 kB / 0.9565 GB, free: 6.113 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.005336/0.4476, allocations: 2.324 MB / 0.9588 GB, free: 3.688 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002313/0.4499, allocations: 0.5109 MB / 0.9593 GB, free: 3.195 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03633/0.4862, allocations: 15.83 MB / 0.9747 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00103/0.4872, allocations: 0.802 MB / 0.9755 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001505/0.4888, allocations: 371.8 kB / 0.9759 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009058/0.4897, allocations: 0.6047 MB / 0.9765 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of SimCode: time 1.092e-06/0.4897, allocations: 0 / 0.9765 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5006/0.9903, allocations: 45.66 MB / 1.021 GB, free: 144.4 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.54/13.53, allocations: 8.516 kB / 1.021 GB, free: 144.4 MB / 0.7325 GB " [Timeout remaining time 646] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Lines_Examples_ACLine.fmu > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.66959727415815] Failed to read output from testmodel.py, exit status != 0: 13.669559950008988 13.680519425 13.451438533 Calling exit ...