Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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.001077/0.001077, allocations: 76.55 kB / 19.93 MB, free: 4.617 MB / 18.57 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.001198/0.001198, allocations: 173.9 kB / 23.21 MB, free: 1.336 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.925/0.925, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5703/0.5703, allocations: 114 MB / 373.9 MB, free: 8.711 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 0.5542 GB, free: 2.789 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.814e-05/1.951e-05, allocations: 2.281 kB / 0.5542 GB, free: 2.785 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.005545/0.005565, allocations: 6.392 MB / 0.5604 GB, free: 12.37 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.003418/0.008982, allocations: 2.989 MB / 0.5633 GB, free: 9.371 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003289/0.009311, allocations: 35.69 kB / 0.5634 GB, free: 9.336 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.001245/0.01056, allocations: 0.9599 MB / 0.5643 GB, free: 8.375 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.000888/0.01144, allocations: 0.5357 MB / 0.5648 GB, free: 7.836 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007361/0.01218, allocations: 429.5 kB / 0.5652 GB, free: 7.418 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.001108/0.01329, allocations: 1.263 MB / 0.5665 GB, free: 6.148 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000582/0.01387, allocations: 0.5333 MB / 0.567 GB, free: 5.609 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005686/0.01444, allocations: 0.6547 MB / 0.5676 GB, free: 4.953 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004415/0.01488, allocations: 482.6 kB / 0.5681 GB, free: 4.48 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 6.214e-05/0.01494, allocations: 68 kB / 0.5682 GB, free: 4.414 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004527/0.0154, allocations: 343.1 kB / 0.5685 GB, free: 4.078 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001966/0.01559, allocations: 339 kB / 0.5688 GB, free: 3.746 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0002033/0.01579, allocations: 315.2 kB / 0.5691 GB, free: 3.438 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0008508/0.01665, allocations: 1.246 MB / 0.5703 GB, free: 2.188 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.01665, allocations: 0 / 0.5703 GB, free: 2.188 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.833e-06/0.01665, allocations: 0 / 0.5703 GB, free: 2.188 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.117e-06/0.01666, allocations: 0 / 0.5703 GB, free: 2.188 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001191/0.01785, allocations: 1.096 MB / 0.5714 GB, free: 1.055 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.01789, allocations: 12.62 kB / 0.5714 GB, free: 1.043 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.744e-05/0.01799, allocations: 126.6 kB / 0.5715 GB, free: 0.9102 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008033/0.01879, allocations: 244.1 kB / 0.5718 GB, free: 0.6719 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006032/0.0194, allocations: 0.5184 MB / 0.5723 GB, free: 136 kB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.879e-05/0.01943, allocations: 53.67 kB / 0.5723 GB, free: 84 kB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.075e-05/0.0195, allocations: 68.31 kB / 0.5724 GB, free: 16 kB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001281/0.02078, allocations: 1.344 MB / 0.5737 GB, free: 14.5 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.986e-05/0.0208, allocations: 192 / 0.5737 GB, free: 14.5 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.478e-05/0.02084, allocations: 36.11 kB / 0.5737 GB, free: 14.46 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.73e-05/0.02094, allocations: 85.25 kB / 0.5738 GB, free: 14.38 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007295/0.02167, allocations: 0.7503 MB / 0.5746 GB, free: 13.63 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003287/0.02495, allocations: 4.62 MB / 0.5791 GB, free: 8.844 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007132/0.02567, allocations: 0.501 MB / 0.5796 GB, free: 8.328 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002864/0.02595, allocations: 282.2 kB / 0.5798 GB, free: 8.051 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.834e-05/0.02598, allocations: 4.5 kB / 0.5798 GB, free: 8.047 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.771e-05/0.02601, allocations: 39.06 kB / 0.5799 GB, free: 8 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=47): time 6.041e-06/0.02602, allocations: 0 / 0.5799 GB, free: 8 MB / 0.5417 GB Notification: Performance of matching and sorting (n=48): time 0.002503/0.02852, allocations: 1.689 MB / 0.5815 GB, free: 6.297 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.675e-05/0.02856, allocations: 59.91 kB / 0.5816 GB, free: 6.227 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004338/0.02899, allocations: 0.5702 MB / 0.5821 GB, free: 5.648 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.368e-05/0.02902, allocations: 37.7 kB / 0.5822 GB, free: 5.605 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001982/0.02922, allocations: 424 kB / 0.5826 GB, free: 5.184 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 8.803e-05/0.02931, allocations: 178.4 kB / 0.5827 GB, free: 5.008 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001242/0.02943, allocations: 126.6 kB / 0.5829 GB, free: 4.879 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001206/0.02956, allocations: 374.8 kB / 0.5832 GB, free: 4.504 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002681/0.02982, allocations: 273.9 kB / 0.5835 GB, free: 4.234 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003738/0.0302, allocations: 492.9 kB / 0.584 GB, free: 3.66 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006828/0.03088, allocations: 0.8163 MB / 0.5847 GB, free: 2.75 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.03088, allocations: 4 kB / 0.5848 GB, free: 2.746 MB / 0.5417 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001111/0.032, allocations: 1.074 MB / 0.5858 GB, free: 1.648 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/0.03202, allocations: 11.94 kB / 0.5858 GB, free: 1.637 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/0.03203, allocations: 8 kB / 0.5858 GB, free: 1.629 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005042/0.03253, allocations: 287.8 kB / 0.5861 GB, free: 1.336 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002587/0.03279, allocations: 127.7 kB / 0.5862 GB, free: 1.211 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00466/0.03745, allocations: 6.667 MB / 0.5927 GB, free: 10.09 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003138/0.03776, allocations: 35.97 kB / 0.5928 GB, free: 10.05 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.987e-05/0.03779, allocations: 36.12 kB / 0.5928 GB, free: 10.02 MB / 0.5573 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 (67): * Single equations (assignments): 63 * 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 {(2,6,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.0002641/0.03806, allocations: 246.2 kB / 0.593 GB, free: 9.766 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.537e-05/0.03812, allocations: 79.47 kB / 0.5931 GB, free: 9.688 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001165/0.03929, allocations: 0.8784 MB / 0.594 GB, free: 8.789 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.03929, allocations: 4 kB / 0.594 GB, free: 8.785 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.0393, allocations: 11.88 kB / 0.594 GB, free: 8.773 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.0393, allocations: 7.922 kB / 0.594 GB, free: 8.766 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001541/0.04084, allocations: 1.603 MB / 0.5956 GB, free: 7.082 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.04085, allocations: 8.125 kB / 0.5956 GB, free: 7.074 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000135/0.04098, allocations: 59.89 kB / 0.5956 GB, free: 7.016 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000406/0.04139, allocations: 275.2 kB / 0.5959 GB, free: 6.734 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.016e-05/0.04141, allocations: 11.94 kB / 0.5959 GB, free: 6.723 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003943/0.04535, allocations: 6.67 MB / 0.6024 GB, free: 15.59 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.04535, allocations: 4.031 kB / 0.6024 GB, free: 15.59 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009039/0.04626, allocations: 0.9698 MB / 0.6034 GB, free: 14.57 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001749/0.04643, allocations: 123.6 kB / 0.6035 GB, free: 14.45 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.004e-05/0.04647, allocations: 15.92 kB / 0.6035 GB, free: 14.44 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001897/0.04666, allocations: 27.97 kB / 0.6035 GB, free: 14.41 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.541e-05/0.04675, allocations: 51.95 kB / 0.6036 GB, free: 14.36 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.9e-05/0.04677, allocations: 12 kB / 0.6036 GB, free: 14.35 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0002866/0.04705, allocations: 383.1 kB / 0.6039 GB, free: 13.98 MB / 0.573 GB Notification: Performance of sort global known variables: time 4.21e-07/0.04705, allocations: 0 / 0.6039 GB, free: 13.98 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0005559/0.04761, allocations: 224 kB / 0.6042 GB, free: 13.76 MB / 0.573 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 (31): * Single equations (assignments): 27 * 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 {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00124/0.04885, allocations: 1.535 MB / 0.6057 GB, free: 12.16 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001753/0.0506, allocations: 1.236 MB / 0.6069 GB, free: 10.88 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 4.95e-06/0.05061, allocations: 0 / 0.6069 GB, free: 10.88 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0009234/0.05153, allocations: 0.8658 MB / 0.6077 GB, free: 9.957 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006404/0.05217, allocations: 233.9 kB / 0.6079 GB, free: 9.746 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005632/0.0578, allocations: 6.356 MB / 0.6141 GB, free: 3.047 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004908/0.0583, allocations: 415.5 kB / 0.6145 GB, free: 2.617 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0002863/0.05858, allocations: 122 kB / 0.6146 GB, free: 2.496 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002149/0.0588, allocations: 260.4 kB / 0.6149 GB, free: 2.242 MB / 0.573 GB Notification: Performance of SimCode: time 1.603e-06/0.0588, allocations: 0 / 0.6149 GB, free: 2.242 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04053/0.09933, allocations: 19.31 MB / 0.6337 GB, free: 15.4 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.16/7.259, allocations: 64 / 0.6337 GB, free: 15.4 MB / 0.6042 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.875231984071434] Failed to read output from testmodel.py, exit status != 0: 7.353868550620973 7.368285859 7.349603638 Calling exit ...