Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized.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.001398/0.001398, allocations: 116.8 kB / 17.17 MB, free: 6 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.001493/0.001493, allocations: 214.3 kB / 20.13 MB, free: 3.055 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.482/1.482, 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.002506/0.002506, allocations: 279.3 kB / 309.8 MB, free: 3.449 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.065/1.065, allocations: 180.6 MB / 0.5338 GB, free: 12.38 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.DC.Lines.Examples.DCLinesLinearized,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_DC_Lines_Examples_DCLinesLinearized",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_DC_Lines_Examples_DCLinesLinearized",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.003052/0.003052, allocations: 101.6 kB / 0.7347 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4834/0.4865, allocations: 95.34 MB / 0.8278 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02642/0.5129, allocations: 22.95 MB / 0.8502 GB, free: 3.301 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02855/0.5414, allocations: 17.83 MB / 0.8676 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003739/0.5452, allocations: 146.7 kB / 0.8678 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.01125/0.5564, allocations: 4.231 MB / 0.8719 GB, free: 3.758 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0117/0.5681, allocations: 3.578 MB / 0.8754 GB, free: 0.9375 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004566/0.5727, allocations: 1.309 MB / 0.8767 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.009585/0.5823, allocations: 5.799 MB / 0.8823 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00491/0.5872, allocations: 2.799 MB / 0.8851 GB, free: 10.72 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005001/0.5922, allocations: 2.518 MB / 0.8875 GB, free: 9.363 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006279/0.5985, allocations: 2.512 MB / 0.89 GB, free: 7.785 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.001611/0.6001, allocations: 370.3 kB / 0.8903 GB, free: 7.785 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004297/0.6044, allocations: 1.054 MB / 0.8914 GB, free: 7.402 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.002321/0.6067, allocations: 1.224 MB / 0.8926 GB, free: 6.5 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.006751/0.6134, allocations: 2.004 MB / 0.8945 GB, free: 5.129 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01151/0.625, allocations: 5.202 MB / 0.8996 GB, free: 424 kB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.625, allocations: 0 / 0.8996 GB, free: 424 kB / 0.6231 GB Notification: Performance of FrontEnd: time 2.866e-06/0.625, allocations: 0 / 0.8996 GB, free: 424 kB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0001977/0.6252, allocations: 0 / 0.8996 GB, free: 424 kB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 635 * Number of variables: 635 Notification: Performance of Generate backend data structure: time 0.01236/0.6375, allocations: 4.73 MB / 0.9042 GB, free: 11.56 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/0.6376, allocations: 12.03 kB / 0.9042 GB, free: 11.55 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.382e-05/0.6376, allocations: 60.92 kB / 0.9043 GB, free: 11.48 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006484/0.6383, allocations: 366.3 kB / 0.9046 GB, free: 11.12 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01737/0.6557, allocations: 3.279 MB / 0.9078 GB, free: 7.832 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00487/0.6605, allocations: 2.242 MB / 0.91 GB, free: 5.523 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004621/0.661, allocations: 473.8 kB / 0.9105 GB, free: 4.996 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007813/0.6618, allocations: 232 kB / 0.9107 GB, free: 4.77 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01287/0.6747, allocations: 4.818 MB / 0.9154 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.419e-05/0.6747, allocations: 7.875 kB / 0.9154 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000415/0.6751, allocations: 104 kB / 0.9155 GB, free: 15.7 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002259/0.6753, allocations: 168.8 kB / 0.9157 GB, free: 15.53 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01543/0.6908, allocations: 5.198 MB / 0.9208 GB, free: 10.31 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02443/0.7152, allocations: 14.42 MB / 0.9348 GB, free: 10.73 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01079/0.726, allocations: 3.262 MB / 0.938 GB, free: 7.461 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004168/0.7302, allocations: 1.377 MB / 0.9394 GB, free: 6.086 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001454/0.7303, allocations: 21.3 kB / 0.9394 GB, free: 6.062 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004829/0.7351, allocations: 1.801 MB / 0.9411 GB, free: 4.199 MB / 0.67 GB Notification: Performance of pre-optimization done (n=163): time 3.757e-06/0.7351, allocations: 0 / 0.9411 GB, free: 4.199 MB / 0.67 GB Notification: Performance of matching and sorting (n=250): time 0.1388/0.8739, allocations: 28.21 MB / 0.9687 GB, free: 7.766 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003033/0.8742, allocations: 0.4889 MB / 0.9692 GB, free: 7.164 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003466/0.8777, allocations: 2.304 MB / 0.9714 GB, free: 4.848 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0004539/0.8782, allocations: 81.69 kB / 0.9715 GB, free: 4.762 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001403/0.8796, allocations: 1.456 MB / 0.9729 GB, free: 3.293 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009979/0.8806, allocations: 0.8559 MB / 0.9738 GB, free: 2.43 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009831/0.8815, allocations: 428.4 kB / 0.9742 GB, free: 2.004 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.8817, allocations: 301.1 kB / 0.9745 GB, free: 1.707 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006034/0.8877, allocations: 1.925 MB / 0.9763 GB, free: 15.78 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006505/0.8942, allocations: 2.231 MB / 0.9785 GB, free: 13.46 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01194/0.9061, allocations: 4.158 MB / 0.9826 GB, free: 9.168 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.917e-06/0.9062, allocations: 3.938 kB / 0.9826 GB, free: 9.164 MB / 0.7169 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.02073/0.9269, allocations: 6.479 MB / 0.9889 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001238/0.927, allocations: 148.5 kB / 0.989 GB, free: 2.422 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.665e-05/0.927, allocations: 4 kB / 0.989 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.011/0.938, allocations: 2.934 MB / 0.9919 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00313/0.9412, allocations: 491.2 kB / 0.9924 GB, free: 15 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04451/0.9857, allocations: 18.85 MB / 1.011 GB, free: 11.9 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004327/0.99, allocations: 327.6 kB / 1.011 GB, free: 11.58 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004469/0.9904, allocations: 83.98 kB / 1.011 GB, free: 11.5 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 25 (varLoad5.count,$PRE.varLoad5.count,varLoad5.T_start,$PRE.varLoad5.T_start,varLoad4.count,$PRE.varLoad4.count,varLoad4.T_start,$PRE.varLoad4.T_start,varLoad3.count,$PRE.varLoad3.count,varLoad3.T_start,$PRE.varLoad3.T_start,varLoad2.count,$PRE.varLoad2.count,varLoad2.T_start,$PRE.varLoad2.T_start,varLoad1.count,$PRE.varLoad1.count,varLoad1.T_start,$PRE.varLoad1.T_start,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (162): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,52,45.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,64)} Notification: Performance of prepare postOptimizeDAE: time 0.001593/0.992, allocations: 0.7105 MB / 1.012 GB, free: 10.77 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007431/0.9928, allocations: 349.8 kB / 1.012 GB, free: 10.43 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009466/0.9937, allocations: 384.1 kB / 1.013 GB, free: 10.05 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.133e-05/0.9937, allocations: 27.94 kB / 1.013 GB, free: 10.02 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.107e-05/0.9938, allocations: 12 kB / 1.013 GB, free: 10.01 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.351e-05/0.9938, allocations: 15.95 kB / 1.013 GB, free: 9.992 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005151/0.9989, allocations: 3.628 MB / 1.016 GB, free: 6.305 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.222e-05/0.999, allocations: 0 / 1.016 GB, free: 6.305 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002829/1.002, allocations: 415.4 kB / 1.017 GB, free: 5.898 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01093/1.013, allocations: 2.876 MB / 1.019 GB, free: 3.016 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005209/1.013, allocations: 51.97 kB / 1.019 GB, free: 2.965 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04321/1.056, allocations: 18.64 MB / 1.038 GB, free: 36 kB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/1.056, allocations: 0 / 1.038 GB, free: 36 kB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02024/1.077, allocations: 6.116 MB / 1.044 GB, free: 9.879 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001963/1.079, allocations: 0.7095 MB / 1.044 GB, free: 9.148 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009151/1.08, allocations: 51.92 kB / 1.044 GB, free: 9.098 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003722/1.083, allocations: 319.5 kB / 1.045 GB, free: 8.785 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001316/1.085, allocations: 350.7 kB / 1.045 GB, free: 8.445 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002987/1.085, allocations: 71.97 kB / 1.045 GB, free: 8.375 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.002614/1.088, allocations: 1.532 MB / 1.047 GB, free: 6.844 MB / 0.7794 GB Notification: Performance of sort global known variables: time 8e-08/1.088, allocations: 0 / 1.047 GB, free: 6.844 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.003231/1.091, allocations: 1.047 MB / 1.048 GB, free: 5.797 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,varLoad1.T_start,varLoad1.count,varLoad2.T_start,varLoad2.count,varLoad3.T_start,varLoad3.count,varLoad4.T_start,varLoad4.count,varLoad5.T_start,varLoad5.count) * Number of discrete states: 5 (varLoad1.count,varLoad2.count,varLoad3.count,varLoad4.count,varLoad5.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (118): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,52,60.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(10,62)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02054/1.111, allocations: 6.734 MB / 1.054 GB, free: 15.03 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.02528/1.137, allocations: 6.32 MB / 1.06 GB, free: 8.613 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 6.672e-06/1.137, allocations: 0 / 1.06 GB, free: 8.613 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.01874/1.155, allocations: 3.939 MB / 1.064 GB, free: 4.645 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005035/1.16, allocations: 1.147 MB / 1.065 GB, free: 3.555 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08156/1.242, allocations: 31.8 MB / 1.096 GB, free: 3.273 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002415/1.244, allocations: 2.234 MB / 1.099 GB, free: 1.008 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.002112/1.246, allocations: 0.5057 MB / 1.099 GB, free: 0.4961 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002101/1.249, allocations: 1.335 MB / 1.1 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of SimCode: time 1.813e-06/1.249, allocations: 3.938 kB / 1.1 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5068/1.755, allocations: 103.4 MB / 1.201 GB, free: 263 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.78/21.54, allocations: 9.453 kB / 1.201 GB, free: 263 MB / 0.8731 GB " [Timeout remaining time 638] (rm -f BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_DC_Lines_Examples_DCLinesLinearized_fmu --startTime=0 --stopTime=4000 --stepSize=1.6 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_DC_Lines_Examples_DCLinesLinearized.fmu > BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 25.660480231046677] Failed to read output from testmodel.py, exit status != 0: 21.750731504987925 21.759776802 21.132386972 Calling exit ...