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.001293/0.001293, 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.001432/0.001432, allocations: 209.6 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.549/1.549, 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/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.004418/0.004418, allocations: 0.8936 MB / 310.4 MB, free: 3.297 MB / 238.1 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: "" <> buildModelFMU(BidiDCDC.Examples.TransferFunction,fileNamePrefix="BidiDCDC_BidiDCDC_Examples_TransferFunction",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BidiDCDC.Examples.TransferFunction,fileNamePrefix="BidiDCDC_BidiDCDC_Examples_TransferFunction",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: BidiDCDC 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.00202/0.00202, allocations: 68.08 kB / 431.2 MB, free: 40.94 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09013/0.09215, allocations: 53.55 MB / 484.7 MB, free: 18.46 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BidiDCDC.Examples.TransferFunction): time 0.003441/0.09559, allocations: 1.62 MB / 486.3 MB, free: 17.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001206/0.0968, allocations: 0.5189 MB / 486.8 MB, free: 16.84 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000153/0.09695, allocations: 5.156 kB / 486.8 MB, free: 16.84 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003701/0.09732, allocations: 22.27 kB / 486.9 MB, free: 16.82 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001929/0.09751, allocations: 44.98 kB / 486.9 MB, free: 16.79 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001788/0.09769, allocations: 36.88 kB / 487 MB, free: 16.76 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002501/0.09794, allocations: 136.6 kB / 487.1 MB, free: 16.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001347/0.09808, allocations: 19.73 kB / 487.1 MB, free: 16.67 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001352/0.09821, allocations: 59.55 kB / 487.2 MB, free: 16.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000183/0.0984, allocations: 92.62 kB / 487.3 MB, free: 16.58 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.234e-05/0.09845, allocations: 11.03 kB / 487.3 MB, free: 16.58 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.211e-05/0.09848, allocations: 10.91 kB / 487.3 MB, free: 16.58 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.793e-05/0.09857, allocations: 56.78 kB / 487.3 MB, free: 16.54 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.588e-05/0.09863, allocations: 55.83 kB / 487.4 MB, free: 16.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002214/0.09886, allocations: 146.5 kB / 487.5 MB, free: 16.39 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.09886, allocations: 4 kB / 487.5 MB, free: 16.39 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.09886, allocations: 0 / 487.5 MB, free: 16.39 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.318e-06/0.09887, allocations: 0 / 487.5 MB, free: 16.39 MB / 350.1 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.001182/0.1001, allocations: 0.5123 MB / 488 MB, free: 15.92 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/0.1001, allocations: 14.48 kB / 488.1 MB, free: 15.92 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.833e-05/0.1001, allocations: 1.656 kB / 488.1 MB, free: 15.92 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.172e-05/0.1002, allocations: 37.66 kB / 488.1 MB, free: 15.88 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.156e-05/0.1002, allocations: 16.38 kB / 488.1 MB, free: 15.87 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004792/0.1007, allocations: 257.1 kB / 488.4 MB, free: 15.62 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.917e-06/0.1007, allocations: 11.22 kB / 488.4 MB, free: 15.61 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.754e-05/0.1007, allocations: 13.77 kB / 488.4 MB, free: 15.6 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002739/0.101, allocations: 125.4 kB / 488.5 MB, free: 15.52 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.743e-05/0.101, allocations: 1.344 kB / 488.5 MB, free: 15.52 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.487e-05/0.101, allocations: 0 / 488.5 MB, free: 15.52 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.1011, allocations: 5.328 kB / 488.5 MB, free: 15.51 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003142/0.1014, allocations: 124.3 kB / 488.6 MB, free: 15.46 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009012/0.1023, allocations: 488.4 kB / 489.1 MB, free: 15.05 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002619/0.1025, allocations: 123.7 kB / 489.2 MB, free: 14.97 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001708/0.1027, allocations: 73.31 kB / 489.3 MB, free: 14.93 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.312e-05/0.1027, allocations: 5.328 kB / 489.3 MB, free: 14.93 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.985e-05/0.1027, allocations: 31.81 kB / 489.3 MB, free: 14.89 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.713e-06/0.1027, allocations: 0 / 489.3 MB, free: 14.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0006761/0.1034, allocations: 259.9 kB / 489.6 MB, free: 14.75 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.646e-05/0.1035, allocations: 52.75 kB / 489.6 MB, free: 14.69 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000427/0.1039, allocations: 221.2 kB / 489.9 MB, free: 14.53 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.6e-05/0.1039, allocations: 26.36 kB / 489.9 MB, free: 14.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.146e-05/0.104, allocations: 116 kB / 490 MB, free: 14.39 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.245e-05/0.104, allocations: 41.11 kB / 490 MB, free: 14.36 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.655e-05/0.1041, allocations: 35.45 kB / 490.1 MB, free: 14.32 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.609e-05/0.1042, allocations: 327.6 kB / 490.4 MB, free: 14 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001751/0.1044, allocations: 74.5 kB / 490.5 MB, free: 13.96 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001557/0.1045, allocations: 76.59 kB / 490.5 MB, free: 13.93 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003226/0.1048, allocations: 163.6 kB / 490.7 MB, free: 13.85 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.1048, allocations: 8 kB / 490.7 MB, free: 13.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004034/0.1052, allocations: 209.3 kB / 490.9 MB, free: 13.73 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.1053, allocations: 5.531 kB / 490.9 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.1053, allocations: 0 / 490.9 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/0.1053, allocations: 1.469 kB / 490.9 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001959/0.1055, allocations: 30.44 kB / 491 MB, free: 13.72 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.834e-06/0.1055, allocations: 5.062 kB / 491 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001949/0.1057, allocations: 37.64 kB / 491 MB, free: 13.69 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.547e-05/0.1057, allocations: 6.25 kB / 491 MB, free: 13.69 MB / 350.1 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 0.0001006/0.1058, allocations: 133.6 kB / 491.1 MB, free: 13.56 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.438e-05/0.1059, allocations: 13.28 kB / 491.1 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.948e-05/0.1059, allocations: 30.8 kB / 491.2 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.1059, allocations: 1.219 kB / 491.2 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.1059, allocations: 1.188 kB / 491.2 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.1059, allocations: 0 / 491.2 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002315/0.1062, allocations: 254.8 kB / 491.4 MB, free: 13.26 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.1062, allocations: 5.5 kB / 491.4 MB, free: 13.26 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001749/0.1063, allocations: 27.81 kB / 491.5 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.1063, allocations: 0 / 491.5 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.836e-05/0.1064, allocations: 6.531 kB / 491.5 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.1064, allocations: 0 / 491.5 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1064, allocations: 0 / 491.5 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005543/0.1069, allocations: 381.1 kB / 491.8 MB, free: 12.99 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.246e-05/0.107, allocations: 94.3 kB / 491.9 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.725e-05/0.107, allocations: 2.438 kB / 491.9 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002182/0.1072, allocations: 24.16 kB / 492 MB, free: 12.87 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.923e-05/0.1073, allocations: 8.109 kB / 492 MB, free: 12.87 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.868e-06/0.1073, allocations: 2.156 kB / 492 MB, free: 12.87 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003015/0.1076, allocations: 179.6 kB / 492.1 MB, free: 12.74 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1076, allocations: 0 / 492.1 MB, free: 12.74 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002754/0.1079, allocations: 29.78 kB / 492.2 MB, free: 12.73 MB / 350.1 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.0007512/0.1086, allocations: 0.8995 MB / 493.1 MB, free: 11.95 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003958/0.109, allocations: 154.5 kB / 493.2 MB, free: 11.89 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.109, allocations: 0.9375 kB / 493.2 MB, free: 11.89 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001662/0.1092, allocations: 79.89 kB / 493.3 MB, free: 11.86 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003442/0.1095, allocations: 33.33 kB / 493.3 MB, free: 11.84 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002995/0.1125, allocations: 2.262 MB / 495.6 MB, free: 10.09 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001689/0.1127, allocations: 0.7255 MB / 496.3 MB, free: 9.375 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001056/0.1128, allocations: 38.83 kB / 496.4 MB, free: 9.355 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.445e-05/0.1129, allocations: 42.14 kB / 496.4 MB, free: 9.324 MB / 350.1 MB Notification: Performance of SimCode: time 5.52e-07/0.1129, allocations: 0 / 496.4 MB, free: 9.324 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01972/0.1326, allocations: 3.475 MB / 499.9 MB, free: 6.73 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.575/8.708, allocations: 14.59 kB / 499.9 MB, free: 6.719 MB / 350.1 MB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BidiDCDC_BidiDCDC_Examples_TransferFunction_fmu --startTime=0 --stopTime=0.04 --stepSize=2e-06 --timeout=50 --tolerance=1e-06 BidiDCDC_BidiDCDC_Examples_TransferFunction.fmu > BidiDCDC_BidiDCDC.Examples.TransferFunction.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.607034249987919] Failed to read output from testmodel.py, exit status != 0: 9.003055483975913 8.853123005 8.750862062 Calling exit ...