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.0008233/0.0008233, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0007557/0.0007557, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.8848/0.8848, allocations: 177.2 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.001623/0.001623, allocations: 234.6 kB / 259.4 MB, free: 13.02 MB / 250.7 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 0.676/0.676, allocations: 138.4 MB / 454.3 MB, free: 30.03 MB / 410.7 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: Performance of FrontEnd - loaded program: time 1.203e-06/1.203e-06, allocations: 0 / 0.6463 GB, free: 1.883 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.708e-05/1.829e-05, allocations: 10.22 kB / 0.6463 GB, free: 1.871 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.2531/0.2532, allocations: 10.17 MB / 0.6562 GB, free: 51.93 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.008948/0.2621, allocations: 8.384 MB / 0.6644 GB, free: 46.64 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001455/0.2636, allocations: 79.16 kB / 0.6645 GB, free: 46.6 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.002438/0.266, allocations: 1.674 MB / 0.6661 GB, free: 45.66 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.004044/0.27, allocations: 1.611 MB / 0.6677 GB, free: 44.69 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001463/0.2715, allocations: 0.6863 MB / 0.6684 GB, free: 44.32 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.002475/0.274, allocations: 2.362 MB / 0.6707 GB, free: 43.16 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001191/0.2752, allocations: 1.149 MB / 0.6718 GB, free: 42.56 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001583/0.2768, allocations: 1.382 MB / 0.6731 GB, free: 42 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001145/0.2779, allocations: 0.9049 MB / 0.674 GB, free: 41.72 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001751/0.2781, allocations: 141.3 kB / 0.6742 GB, free: 41.72 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001249/0.2793, allocations: 0.746 MB / 0.6749 GB, free: 41.5 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0004188/0.2797, allocations: 0.6016 MB / 0.6755 GB, free: 41.2 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0005989/0.2803, allocations: 0.5992 MB / 0.6761 GB, free: 40.95 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.002463/0.2828, allocations: 2.611 MB / 0.6786 GB, free: 40.08 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.2828, allocations: 0 / 0.6786 GB, free: 40.08 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.894e-06/0.2828, allocations: 0 / 0.6786 GB, free: 40.08 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 2.684e-05/0.2828, allocations: 0 / 0.6786 GB, free: 40.08 MB / 0.5573 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.002326/0.2852, allocations: 1.978 MB / 0.6805 GB, free: 38.83 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/0.2852, allocations: 14.88 kB / 0.6806 GB, free: 38.83 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001873/0.2854, allocations: 193.7 kB / 0.6807 GB, free: 38.7 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006274/0.2917, allocations: 2.06 MB / 0.6828 GB, free: 38.57 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001957/0.2936, allocations: 1.138 MB / 0.6839 GB, free: 37.92 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.286e-05/0.2937, allocations: 89.61 kB / 0.684 GB, free: 37.88 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001958/0.2939, allocations: 120.5 kB / 0.6841 GB, free: 37.84 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003625/0.2975, allocations: 2.881 MB / 0.6869 GB, free: 36.35 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.701e-05/0.2975, allocations: 8.234 kB / 0.6869 GB, free: 36.34 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001158/0.2977, allocations: 57.86 kB / 0.6869 GB, free: 36.3 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002217/0.2979, allocations: 128.5 kB / 0.6871 GB, free: 36.29 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004408/0.3023, allocations: 2.533 MB / 0.6895 GB, free: 35.67 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007408/0.3097, allocations: 7.653 MB / 0.697 GB, free: 30.02 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003141/0.3128, allocations: 1.849 MB / 0.6988 GB, free: 29.09 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001409/0.3142, allocations: 0.9439 MB / 0.6997 GB, free: 28.61 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 3.746e-05/0.3143, allocations: 5.5 kB / 0.6998 GB, free: 28.61 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.493e-05/0.3143, allocations: 38.72 kB / 0.6998 GB, free: 28.56 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=53): time 3.246e-06/0.3143, allocations: 2.859 kB / 0.6998 GB, free: 28.56 MB / 0.5573 GB Notification: Performance of matching and sorting (n=81): time 0.01608/0.3304, allocations: 8.64 MB / 0.7082 GB, free: 24.34 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.139e-05/0.3304, allocations: 61.12 kB / 0.7083 GB, free: 24.28 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001101/0.3315, allocations: 1.113 MB / 0.7094 GB, free: 23.66 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 7.186e-05/0.3316, allocations: 40.55 kB / 0.7094 GB, free: 23.61 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002825/0.3319, allocations: 0.7474 MB / 0.7101 GB, free: 22.95 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001834/0.3321, allocations: 284.9 kB / 0.7104 GB, free: 22.7 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002666/0.3323, allocations: 202.5 kB / 0.7106 GB, free: 22.59 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 5.481e-05/0.3324, allocations: 347.6 kB / 0.7109 GB, free: 22.25 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00156/0.3339, allocations: 1.073 MB / 0.712 GB, free: 21.7 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001565/0.3355, allocations: 1.31 MB / 0.7133 GB, free: 20.86 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003073/0.3386, allocations: 2.375 MB / 0.7156 GB, free: 19.47 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.3386, allocations: 2.688 kB / 0.7156 GB, free: 19.47 MB / 0.5573 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.004339/0.3429, allocations: 3.26 MB / 0.7188 GB, free: 16.41 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/0.3429, allocations: 11.94 kB / 0.7188 GB, free: 16.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.343, allocations: 4 kB / 0.7188 GB, free: 16.4 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001356/0.3443, allocations: 0.7894 MB / 0.7196 GB, free: 15.59 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008529/0.3452, allocations: 415.3 kB / 0.72 GB, free: 15.18 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007191/0.3524, allocations: 14.98 MB / 0.7346 GB, free: 15.31 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001256/0.3536, allocations: 287.5 kB / 0.7349 GB, free: 15.03 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.589e-05/0.3537, allocations: 55.95 kB / 0.7349 GB, free: 14.98 MB / 0.573 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.0006595/0.3543, allocations: 397.5 kB / 0.7353 GB, free: 14.58 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001539/0.3545, allocations: 155 kB / 0.7354 GB, free: 14.43 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004548/0.3591, allocations: 3.175 MB / 0.7385 GB, free: 11.22 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.3591, allocations: 8.516 kB / 0.7385 GB, free: 11.21 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.3591, allocations: 8 kB / 0.7386 GB, free: 11.21 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/0.3591, allocations: 7.922 kB / 0.7386 GB, free: 11.2 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006088/0.3652, allocations: 4.609 MB / 0.7431 GB, free: 6.469 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.3652, allocations: 0 / 0.7431 GB, free: 6.469 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007664/0.3659, allocations: 363.3 kB / 0.7434 GB, free: 6.117 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001183/0.3671, allocations: 0.7052 MB / 0.7441 GB, free: 5.387 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.581e-05/0.3672, allocations: 38.53 kB / 0.7441 GB, free: 5.352 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008879/0.376, allocations: 14.59 MB / 0.7584 GB, free: 5.859 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.376, allocations: 4 kB / 0.7584 GB, free: 5.855 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004972/0.381, allocations: 3.013 MB / 0.7613 GB, free: 2.766 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005417/0.3816, allocations: 314.8 kB / 0.7616 GB, free: 2.457 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001223/0.3817, allocations: 23.94 kB / 0.7616 GB, free: 2.434 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009176/0.3826, allocations: 295.5 kB / 0.7619 GB, free: 2.145 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002074/0.3828, allocations: 84.39 kB / 0.762 GB, free: 2.062 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.71e-05/0.3829, allocations: 43.95 kB / 0.762 GB, free: 2.02 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0007555/0.3836, allocations: 0.7327 MB / 0.7628 GB, free: 1.285 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.3836, allocations: 0 / 0.7628 GB, free: 1.285 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001181/0.3848, allocations: 435.9 kB / 0.7632 GB, free: 0.8594 MB / 0.5886 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.004717/0.3895, allocations: 3.589 MB / 0.7667 GB, free: 13.18 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.004521/0.394, allocations: 3.523 MB / 0.7701 GB, free: 9.551 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.696e-06/0.394, allocations: 0 / 0.7701 GB, free: 9.551 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.002759/0.3968, allocations: 2.313 MB / 0.7724 GB, free: 7.133 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00139/0.3982, allocations: 0.5255 MB / 0.7729 GB, free: 6.645 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02046/0.4187, allocations: 15.83 MB / 0.7884 GB, free: 6.383 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006547/0.4193, allocations: 0.806 MB / 0.7891 GB, free: 5.539 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0009796/0.4203, allocations: 371.9 kB / 0.7895 GB, free: 5.172 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005993/0.4209, allocations: 0.6057 MB / 0.7901 GB, free: 4.566 MB / 0.6198 GB Notification: Performance of SimCode: time 1.062e-06/0.4209, allocations: 0 / 0.7901 GB, free: 4.566 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06923/0.4901, allocations: 45.68 MB / 0.8347 GB, free: 7.77 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.758/8.248, allocations: 7.188 kB / 0.8347 GB, free: 7.77 MB / 0.6667 GB " [Timeout remaining time 652] (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: 10.862683315761387] Failed to read output from testmodel.py, exit status != 0: 8.354880888946354 8.367300188 8.082386508 Calling exit ...