Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BidiDCDC_BidiDCDC.Examples.TransferFunction.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.0008594/0.0008594, allocations: 76.5 kB / 19.93 MB, free: 4.621 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.0009692/0.0009692, allocations: 178.2 kB / 23.21 MB, free: 1.34 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.8903/0.8903, 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/BidiDCDC main/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BidiDCDC main/package.mo:2:1-29:13:writable] Warning: Types was referenced in the package.order file, but was not found in package.mo, Types/package.mo or Types.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BidiDCDC main/package.mo): time 0.002604/0.002604, allocations: 0.6587 MB / 260.6 MB, free: 12.59 MB / 250.7 MB " [Timeout remaining time 180] Using package BidiDCDC with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BidiDCDC main/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: translateModel(BidiDCDC.Examples.TransferFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="BidiDCDC_BidiDCDC.Examples.TransferFunction") translateModel(BidiDCDC.Examples.TransferFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="BidiDCDC_BidiDCDC.Examples.TransferFunction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.462e-06/1.462e-06, allocations: 0 / 383.4 MB, free: 15.24 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.752e-05/2.898e-05, allocations: 2.281 kB / 383.4 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFInst.instantiate(BidiDCDC.Examples.TransferFunction): time 0.002319/0.002348, allocations: 1.599 MB / 385 MB, free: 13.63 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001084/0.003432, allocations: 498.7 kB / 385.5 MB, free: 13.14 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.515e-05/0.003527, allocations: 0 / 385.5 MB, free: 13.14 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003697/0.003897, allocations: 27.83 kB / 385.5 MB, free: 13.11 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001261/0.004023, allocations: 39.67 kB / 385.5 MB, free: 13.07 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000162/0.004185, allocations: 63.88 kB / 385.6 MB, free: 13.01 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001508/0.004336, allocations: 103.7 kB / 385.7 MB, free: 12.91 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.004451, allocations: 15.97 kB / 385.7 MB, free: 12.89 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001046/0.004555, allocations: 67.75 kB / 385.8 MB, free: 12.82 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001361/0.004691, allocations: 75.83 kB / 385.9 MB, free: 12.75 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.759e-05/0.004729, allocations: 12 kB / 385.9 MB, free: 12.74 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.892e-05/0.004748, allocations: 12 kB / 385.9 MB, free: 12.73 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.115e-05/0.004829, allocations: 55.81 kB / 385.9 MB, free: 12.67 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.856e-05/0.004878, allocations: 43.91 kB / 386 MB, free: 12.63 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001835/0.005061, allocations: 143.5 kB / 386.1 MB, free: 12.49 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.005066, allocations: 0 / 386.1 MB, free: 12.49 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.005067, allocations: 0 / 386.1 MB, free: 12.49 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.005073, allocations: 4 kB / 386.1 MB, free: 12.48 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000864/0.005937, allocations: 449.4 kB / 386.6 MB, free: 12.02 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.367e-05/0.00599, allocations: 8.031 kB / 386.6 MB, free: 12.01 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.355e-05/0.006044, allocations: 16.84 kB / 386.6 MB, free: 11.99 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003894/0.006433, allocations: 193.5 kB / 386.8 MB, free: 11.78 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.006447, allocations: 8.375 kB / 386.8 MB, free: 11.77 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.641e-05/0.006474, allocations: 12.38 kB / 386.8 MB, free: 11.76 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001914/0.006665, allocations: 124.9 kB / 386.9 MB, free: 11.63 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.006678, allocations: 192 / 386.9 MB, free: 11.63 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.006691, allocations: 4.375 kB / 386.9 MB, free: 11.63 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.006699, allocations: 11.92 kB / 386.9 MB, free: 11.62 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001785/0.006878, allocations: 115.9 kB / 387.1 MB, free: 11.5 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005705/0.007448, allocations: 408.3 kB / 387.5 MB, free: 11.07 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001627/0.007611, allocations: 118.5 kB / 387.6 MB, free: 10.95 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.281e-05/0.007704, allocations: 72.75 kB / 387.6 MB, free: 10.88 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.637e-05/0.00772, allocations: 0 / 387.6 MB, free: 10.88 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.908e-05/0.007749, allocations: 46.48 kB / 387.7 MB, free: 10.82 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.473e-06/0.007751, allocations: 8.156 kB / 387.7 MB, free: 10.81 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003982/0.008149, allocations: 253.7 kB / 387.9 MB, free: 10.56 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.576e-05/0.008195, allocations: 55.41 kB / 388 MB, free: 10.49 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002262/0.008421, allocations: 223.8 kB / 388.2 MB, free: 10.26 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.412e-05/0.008435, allocations: 25.7 kB / 388.2 MB, free: 10.23 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002115/0.008646, allocations: 120.2 kB / 388.4 MB, free: 10.11 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.79e-05/0.008684, allocations: 39.69 kB / 388.4 MB, free: 10.07 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.265e-05/0.008727, allocations: 33.7 kB / 388.4 MB, free: 10.03 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.119e-05/0.008808, allocations: 330.8 kB / 388.7 MB, free: 9.699 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001014/0.00891, allocations: 71.94 kB / 388.8 MB, free: 9.629 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.424e-05/0.009004, allocations: 79.94 kB / 388.9 MB, free: 9.551 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001954/0.009199, allocations: 160.6 kB / 389.1 MB, free: 9.391 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.009202, allocations: 4 kB / 389.1 MB, free: 9.387 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002435/0.009445, allocations: 220.6 kB / 389.3 MB, free: 9.168 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.009463, allocations: 8 kB / 389.3 MB, free: 9.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.009469, allocations: 0 / 389.3 MB, free: 9.16 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.009485, allocations: 3.984 kB / 389.3 MB, free: 9.156 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001156/0.009601, allocations: 35.91 kB / 389.3 MB, free: 9.121 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.009607, allocations: 0 / 389.3 MB, free: 9.121 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.664e-05/0.009693, allocations: 27.97 kB / 389.3 MB, free: 9.094 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.927e-06/0.009702, allocations: 4 kB / 389.4 MB, free: 9.09 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.064e-05/0.009783, allocations: 129.8 kB / 389.5 MB, free: 8.953 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.154e-05/0.009804, allocations: 15.84 kB / 389.5 MB, free: 8.938 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.169e-05/0.009846, allocations: 29.45 kB / 389.5 MB, free: 8.906 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.009849, allocations: 0 / 389.5 MB, free: 8.906 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.009853, allocations: 0 / 389.5 MB, free: 8.906 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.009857, allocations: 0 / 389.5 MB, free: 8.906 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001669/0.01002, allocations: 185.1 kB / 389.7 MB, free: 8.695 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.01003, allocations: 0 / 389.7 MB, free: 8.695 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.993e-05/0.01013, allocations: 31.97 kB / 389.7 MB, free: 8.664 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.01013, allocations: 3.938 kB / 389.7 MB, free: 8.66 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.386e-05/0.01014, allocations: 11.94 kB / 389.8 MB, free: 8.648 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.01015, allocations: 0 / 389.8 MB, free: 8.648 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.01015, allocations: 0 / 389.8 MB, free: 8.648 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003897/0.01054, allocations: 371.2 kB / 390.1 MB, free: 8.27 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.821e-05/0.01056, allocations: 23.88 kB / 390.1 MB, free: 8.246 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.976e-05/0.01058, allocations: 8 kB / 390.1 MB, free: 8.238 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.994e-05/0.01068, allocations: 23.97 kB / 390.2 MB, free: 8.215 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.97e-05/0.01074, allocations: 7.984 kB / 390.2 MB, free: 8.207 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.242e-06/0.01075, allocations: 0 / 390.2 MB, free: 8.207 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001623/0.01091, allocations: 172.4 kB / 390.3 MB, free: 8.039 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01091, allocations: 0 / 390.3 MB, free: 8.039 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001689/0.01108, allocations: 27.94 kB / 390.4 MB, free: 8.012 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (transferFunction.x_scaled[1],transferFunction.x_scaled[2],transferFunction.x_scaled[3]) * 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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001031/0.01118, allocations: 103.2 kB / 390.5 MB, free: 7.902 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002564/0.01144, allocations: 159.8 kB / 390.6 MB, free: 7.746 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.01144, allocations: 0 / 390.6 MB, free: 7.746 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.635e-05/0.01154, allocations: 79.89 kB / 390.7 MB, free: 7.668 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002418/0.01178, allocations: 19.98 kB / 390.7 MB, free: 7.648 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005958/0.01238, allocations: 391.4 kB / 391.1 MB, free: 7.23 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.557e-05/0.01246, allocations: 110.2 kB / 391.2 MB, free: 7.105 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.458e-05/0.01252, allocations: 16.5 kB / 391.2 MB, free: 7.09 MB / 362.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01252, allocations: 0 / 391.2 MB, free: 7.09 MB / 362.7 MB Notification: Performance of Templates: time 0.002856/0.01537, allocations: 2.084 MB / 393.3 MB, free: 5.008 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f BidiDCDC_BidiDCDC.Examples.TransferFunction.makefile [Timeout 660] (rm -f BidiDCDC_BidiDCDC.Examples.TransferFunction.pipe ; mkfifo BidiDCDC_BidiDCDC.Examples.TransferFunction.pipe ; head -c 1048576 < BidiDCDC_BidiDCDC.Examples.TransferFunction.pipe >> ../files/BidiDCDC_BidiDCDC.Examples.TransferFunction.sim & ./BidiDCDC_BidiDCDC.Examples.TransferFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > BidiDCDC_BidiDCDC.Examples.TransferFunction.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.464040754362941] Failed to read output from testmodel.py, exit status != 0: 0.021732784807682037 0.030084187000000002 0.023273494000000002 Calling exit ...