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.001824/0.001824, allocations: 116.8 kB / 17.17 MB, free: 5.977 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.002411/0.002411, allocations: 209.5 kB / 20.13 MB, free: 3.035 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.486/1.486, allocations: 230.6 MB / 253.5 MB, free: 15.08 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.002486/0.002486, allocations: 285.1 kB / 309.8 MB, free: 3.555 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.118/1.118, allocations: 180.6 MB / 0.5337 GB, free: 12.81 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.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.00296/0.00296, allocations: 95.86 kB / 0.7347 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5516/0.5546, allocations: 95.33 MB / 0.8278 GB, free: 3.066 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.007143/0.5617, allocations: 6.203 MB / 0.8338 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.005835/0.5676, allocations: 3.22 MB / 0.837 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006776/0.5682, allocations: 42.53 kB / 0.837 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002716/0.571, allocations: 0.9399 MB / 0.8379 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001603/0.5726, allocations: 492 kB / 0.8384 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001552/0.5741, allocations: 494.5 kB / 0.8389 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001678/0.5758, allocations: 1.093 MB / 0.8399 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008967/0.5767, allocations: 0.5119 MB / 0.8404 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008647/0.5775, allocations: 457.2 kB / 0.8409 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007572/0.5783, allocations: 495.7 kB / 0.8413 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001107/0.5784, allocations: 58.78 kB / 0.8414 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001084/0.5795, allocations: 0.4944 MB / 0.8419 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000394/0.5799, allocations: 292 kB / 0.8422 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005084/0.5804, allocations: 400.5 kB / 0.8425 GB, free: 9.949 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002081/0.5825, allocations: 1.18 MB / 0.8437 GB, free: 9.539 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.5825, allocations: 0 / 0.8437 GB, free: 9.539 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.843e-06/0.5825, allocations: 0 / 0.8437 GB, free: 9.539 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.91e-05/0.5825, allocations: 1.281 kB / 0.8437 GB, free: 9.539 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.002345/0.5849, allocations: 1.074 MB / 0.8447 GB, free: 8.75 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/0.5849, allocations: 9.406 kB / 0.8448 GB, free: 8.75 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.428e-05/0.585, allocations: 21.12 kB / 0.8448 GB, free: 8.746 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001931/0.5852, allocations: 122.1 kB / 0.8449 GB, free: 8.66 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001927/0.5871, allocations: 222.6 kB / 0.8451 GB, free: 8.605 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001357/0.5884, allocations: 0.5815 MB / 0.8457 GB, free: 8.23 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.658e-05/0.5885, allocations: 54.28 kB / 0.8457 GB, free: 8.199 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001708/0.5887, allocations: 61.69 kB / 0.8458 GB, free: 8.18 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001999/0.5907, allocations: 1.037 MB / 0.8468 GB, free: 7.57 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.793e-05/0.5907, allocations: 7.609 kB / 0.8468 GB, free: 7.566 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.343e-05/0.5908, allocations: 29.36 kB / 0.8468 GB, free: 7.547 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001257/0.5909, allocations: 73.3 kB / 0.8469 GB, free: 7.535 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00139/0.5923, allocations: 0.6906 MB / 0.8476 GB, free: 7.289 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006406/0.5987, allocations: 5.735 MB / 0.8532 GB, free: 2.324 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009411/0.5997, allocations: 0.5538 MB / 0.8537 GB, free: 1.977 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009555/0.6006, allocations: 392 kB / 0.8541 GB, free: 1.859 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.994e-05/0.6007, allocations: 7.062 kB / 0.8541 GB, free: 1.855 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.149e-05/0.6007, allocations: 37.3 kB / 0.8541 GB, free: 1.812 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=41): time 2.595e-06/0.6007, allocations: 1.125 kB / 0.8541 GB, free: 1.812 MB / 0.5919 GB Notification: Performance of matching and sorting (n=42): time 0.004808/0.6055, allocations: 2.008 MB / 0.8561 GB, free: 0.7734 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.424e-05/0.6055, allocations: 59.94 kB / 0.8562 GB, free: 0.707 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005739/0.6061, allocations: 454.7 kB / 0.8566 GB, free: 0.4922 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.482e-05/0.6062, allocations: 39.42 kB / 0.8566 GB, free: 460 kB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002954/0.6065, allocations: 394.2 kB / 0.857 GB, free: 136 kB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000148/0.6066, allocations: 160.5 kB / 0.8572 GB, free: 8 kB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002177/0.6068, allocations: 112.4 kB / 0.8573 GB, free: 15.94 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001932/0.607, allocations: 359.7 kB / 0.8576 GB, free: 15.61 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004177/0.6074, allocations: 248.1 kB / 0.8578 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000557/0.608, allocations: 462.4 kB / 0.8583 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001024/0.609, allocations: 0.7471 MB / 0.859 GB, free: 14.65 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.609, allocations: 2.75 kB / 0.859 GB, free: 14.65 MB / 0.6075 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002091/0.6111, allocations: 1.026 MB / 0.86 GB, free: 14.14 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.837e-05/0.6111, allocations: 12.78 kB / 0.86 GB, free: 14.14 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.455e-05/0.6112, allocations: 6.938 kB / 0.86 GB, free: 14.14 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001087/0.6122, allocations: 323.3 kB / 0.8603 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003513/0.6126, allocations: 96.3 kB / 0.8604 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007874/0.6205, allocations: 7.479 MB / 0.8677 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006062/0.6211, allocations: 34.52 kB / 0.8678 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.361e-05/0.6211, allocations: 29.59 kB / 0.8678 GB, free: 7.066 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.000415/0.6215, allocations: 239.3 kB / 0.868 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001208/0.6217, allocations: 69.25 kB / 0.8681 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001784/0.6234, allocations: 0.8759 MB / 0.869 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.249e-06/0.6235, allocations: 4.125 kB / 0.869 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.6235, allocations: 4.125 kB / 0.869 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.6235, allocations: 3.984 kB / 0.869 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002861/0.6263, allocations: 1.667 MB / 0.8706 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.6263, allocations: 10.62 kB / 0.8706 GB, free: 5.152 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001847/0.6265, allocations: 45.53 kB / 0.8706 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009869/0.6275, allocations: 306.5 kB / 0.8709 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.584e-05/0.6275, allocations: 8.188 kB / 0.8709 GB, free: 4.969 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007842/0.6354, allocations: 7.473 MB / 0.8782 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.6354, allocations: 1.219 kB / 0.8782 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001914/0.6373, allocations: 0.9751 MB / 0.8792 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003276/0.6376, allocations: 177.3 kB / 0.8794 GB, free: 13.33 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.179e-05/0.6377, allocations: 11.8 kB / 0.8794 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002905/0.638, allocations: 25.16 kB / 0.8794 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001293/0.6381, allocations: 41.98 kB / 0.8794 GB, free: 13.28 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.96e-05/0.6381, allocations: 12.84 kB / 0.8795 GB, free: 13.28 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003951/0.6385, allocations: 309 kB / 0.8797 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1e-07/0.6385, allocations: 0 / 0.8797 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0009264/0.6395, allocations: 197.3 kB / 0.8799 GB, free: 13.07 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.002065/0.6415, allocations: 1.523 MB / 0.8814 GB, free: 11.89 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002045/0.6436, allocations: 1.157 MB / 0.8826 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.6436, allocations: 0 / 0.8826 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001337/0.6449, allocations: 0.8361 MB / 0.8834 GB, free: 10.4 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001139/0.6461, allocations: 210.8 kB / 0.8836 GB, free: 10.29 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009217/0.6553, allocations: 5.837 MB / 0.8893 GB, free: 6.199 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007276/0.656, allocations: 0.9862 MB / 0.8902 GB, free: 5.359 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003921/0.6564, allocations: 110 kB / 0.8903 GB, free: 5.305 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002967/0.6567, allocations: 226 kB / 0.8906 GB, free: 5.109 MB / 0.6231 GB Notification: Performance of SimCode: time 9.62e-07/0.6567, allocations: 1.438 kB / 0.8906 GB, free: 5.109 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05132/0.708, allocations: 15.43 MB / 0.9056 GB, free: 7.887 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.01/11.72, allocations: 6.672 kB / 0.9056 GB, free: 7.883 MB / 0.6387 GB " [Timeout remaining time 648] (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: 15.865322634985205] Failed to read output from testmodel.py, exit status != 0: 11.878270149987657 11.902248469 11.314422433 Calling exit ...