Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.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.001736/0.001736, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001598/0.001598, allocations: 214.2 kB / 22.24 MB, free: 5.262 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.457/1.457, allocations: 230.6 MB / 256 MB, free: 7.742 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.002467/0.002467, allocations: 290.5 kB / 312.7 MB, free: 2.582 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.219/1.219, allocations: 180.6 MB / 0.5369 GB, free: 14.51 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.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",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.002979/0.002979, allocations: 97.73 kB / 0.7395 GB, free: 27.94 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1777/0.1807, allocations: 95.39 MB / 0.8326 GB, free: 8.336 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.006797/0.1875, allocations: 4.655 MB / 0.8372 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00429/0.1918, allocations: 2.433 MB / 0.8396 GB, free: 1.215 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000415/0.1922, allocations: 39.56 kB / 0.8396 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001218/0.1934, allocations: 402 kB / 0.84 GB, free: 0.7812 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001109/0.1945, allocations: 465.6 kB / 0.8404 GB, free: 332 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001003/0.1955, allocations: 404.2 kB / 0.8408 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001236/0.1968, allocations: 0.9294 MB / 0.8417 GB, free: 15 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005781/0.1974, allocations: 326.6 kB / 0.842 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006436/0.198, allocations: 362.6 kB / 0.8424 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005206/0.1985, allocations: 346.4 kB / 0.8427 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 7.308e-05/0.1986, allocations: 40 kB / 0.8428 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007753/0.1994, allocations: 363.1 kB / 0.8431 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002069/0.1996, allocations: 187.4 kB / 0.8433 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002989/0.1999, allocations: 258.7 kB / 0.8435 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001201/0.2011, allocations: 0.9026 MB / 0.8444 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.207e-06/0.2011, allocations: 0 / 0.8444 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2011, allocations: 0 / 0.8444 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.006e-05/0.2011, allocations: 0 / 0.8444 GB, free: 12.23 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001532/0.2026, allocations: 0.9026 MB / 0.8453 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.923e-05/0.2027, allocations: 13.94 kB / 0.8453 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001085/0.2028, allocations: 90.69 kB / 0.8454 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001235/0.204, allocations: 208.2 kB / 0.8456 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009723/0.205, allocations: 488.8 kB / 0.846 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.395e-05/0.205, allocations: 33.38 kB / 0.8461 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.926e-05/0.2051, allocations: 48.36 kB / 0.8461 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001311/0.2064, allocations: 0.9738 MB / 0.8471 GB, free: 9.266 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.542e-05/0.2065, allocations: 7.938 kB / 0.8471 GB, free: 9.258 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.979e-05/0.2065, allocations: 23.98 kB / 0.8471 GB, free: 9.234 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.553e-05/0.2066, allocations: 68.89 kB / 0.8472 GB, free: 9.168 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008925/0.2075, allocations: 0.5578 MB / 0.8477 GB, free: 8.609 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004864/0.2124, allocations: 4.732 MB / 0.8523 GB, free: 3.684 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007556/0.2131, allocations: 426.3 kB / 0.8527 GB, free: 3.258 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003347/0.2135, allocations: 196.7 kB / 0.8529 GB, free: 3.062 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.053e-05/0.2135, allocations: 8.531 kB / 0.8529 GB, free: 3.055 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.832e-05/0.2135, allocations: 38.56 kB / 0.853 GB, free: 3.008 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=32): time 3.496e-06/0.2135, allocations: 0 / 0.853 GB, free: 3.008 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.002643/0.2162, allocations: 1.145 MB / 0.8541 GB, free: 1.84 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.13e-05/0.2162, allocations: 55.69 kB / 0.8542 GB, free: 1.773 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006085/0.2168, allocations: 0.5145 MB / 0.8547 GB, free: 1.246 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.216e-05/0.2169, allocations: 29.7 kB / 0.8547 GB, free: 1.211 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002733/0.2171, allocations: 367.8 kB / 0.855 GB, free: 0.8477 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001345/0.2173, allocations: 123 kB / 0.8551 GB, free: 0.7266 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000159/0.2174, allocations: 114.2 kB / 0.8553 GB, free: 0.6094 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001722/0.2176, allocations: 362.8 kB / 0.8556 GB, free: 252 kB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002916/0.2179, allocations: 197.2 kB / 0.8558 GB, free: 52 kB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005058/0.2184, allocations: 455.3 kB / 0.8562 GB, free: 15.49 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008559/0.2193, allocations: 0.6874 MB / 0.8569 GB, free: 14.69 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.2193, allocations: 0 / 0.8569 GB, free: 14.69 MB / 0.6075 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001339/0.2206, allocations: 0.8094 MB / 0.8577 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.466e-05/0.2206, allocations: 11.94 kB / 0.8577 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.472e-05/0.2207, allocations: 8.875 kB / 0.8577 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005353/0.2212, allocations: 160.1 kB / 0.8579 GB, free: 13.66 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004603/0.2216, allocations: 131.7 kB / 0.858 GB, free: 13.54 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003539/0.2252, allocations: 4.029 MB / 0.8619 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004362/0.2256, allocations: 35.97 kB / 0.862 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.162e-05/0.2257, allocations: 28.3 kB / 0.862 GB, free: 9.102 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003035/0.226, allocations: 224.8 kB / 0.8622 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.611e-05/0.2261, allocations: 63.58 kB / 0.8623 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001083/0.2271, allocations: 0.597 MB / 0.8628 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.2272, allocations: 4 kB / 0.8628 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.2272, allocations: 0 / 0.8628 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.2272, allocations: 3.984 kB / 0.8628 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001948/0.2291, allocations: 1.191 MB / 0.864 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.2291, allocations: 0 / 0.864 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002588/0.2294, allocations: 55.89 kB / 0.8641 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004224/0.2298, allocations: 136.4 kB / 0.8642 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.813e-05/0.2298, allocations: 15.94 kB / 0.8642 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003455/0.2333, allocations: 4.007 MB / 0.8681 GB, free: 2.34 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/0.2333, allocations: 4.031 kB / 0.8681 GB, free: 2.336 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001069/0.2343, allocations: 0.7123 MB / 0.8688 GB, free: 1.57 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002573/0.2346, allocations: 95.53 kB / 0.8689 GB, free: 1.477 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.581e-05/0.2347, allocations: 16.2 kB / 0.8689 GB, free: 1.461 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002564/0.2349, allocations: 23.97 kB / 0.869 GB, free: 1.438 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.805e-05/0.235, allocations: 31.89 kB / 0.869 GB, free: 1.406 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.455e-05/0.235, allocations: 12 kB / 0.869 GB, free: 1.395 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003923/0.2354, allocations: 342.8 kB / 0.8693 GB, free: 1.062 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.2354, allocations: 4 kB / 0.8693 GB, free: 1.059 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0006297/0.236, allocations: 136 kB / 0.8695 GB, free: 0.9258 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001397/0.2374, allocations: 1.261 MB / 0.8707 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001408/0.2388, allocations: 0.8624 MB / 0.8715 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.2388, allocations: 0 / 0.8715 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0008067/0.2397, allocations: 0.5684 MB / 0.8721 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009988/0.2407, allocations: 213.8 kB / 0.8723 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006868/0.2475, allocations: 5.168 MB / 0.8773 GB, free: 8.328 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003441/0.2479, allocations: 315.9 kB / 0.8776 GB, free: 7.988 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003752/0.2482, allocations: 117.3 kB / 0.8777 GB, free: 7.871 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002628/0.2485, allocations: 195.4 kB / 0.8779 GB, free: 7.684 MB / 0.6231 GB Notification: Performance of SimCode: time 1.262e-06/0.2485, allocations: 0 / 0.8779 GB, free: 7.684 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07011/0.3186, allocations: 14.32 MB / 0.8919 GB, free: 9.77 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.81/12.13, allocations: 5.25 kB / 0.8919 GB, free: 9.766 MB / 0.6387 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.309743338264525] Failed to read output from testmodel.py, exit status != 0: 12.253298487979919 12.280786882 12.074759231 Calling exit ...