Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.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.001645/0.001645, allocations: 113 kB / 18.49 MB, free: 4.539 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.001359/0.001359, allocations: 217.4 kB / 21.46 MB, free: 1.586 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.436/1.436, allocations: 230.6 MB / 254.8 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Electrical.Analog.Examples.AD_DA_conversion,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_AD_DA_conversion",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.AD_DA_conversion,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_AD_DA_conversion",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001466/0.001466, allocations: 47.92 kB / 373.7 MB, free: 10.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0992/0.1007, allocations: 53.33 MB / 427 MB, free: 4.852 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.003816/0.1045, allocations: 2.398 MB / 429.4 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001453/0.1059, allocations: 0.74 MB / 430.2 MB, free: 1.691 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001187/0.1061, allocations: 11.94 kB / 430.2 MB, free: 1.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001643/0.1062, allocations: 31.66 kB / 430.2 MB, free: 1.648 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001159/0.1063, allocations: 51.5 kB / 430.3 MB, free: 1.598 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003895/0.1067, allocations: 103.8 kB / 430.4 MB, free: 1.496 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003408/0.1071, allocations: 267 kB / 430.6 MB, free: 1.234 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002281/0.1073, allocations: 87.03 kB / 430.7 MB, free: 1.148 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002569/0.1075, allocations: 115.7 kB / 430.8 MB, free: 1.035 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000184/0.1077, allocations: 127.4 kB / 430.9 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.324e-05/0.1078, allocations: 20 kB / 431 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.023e-05/0.1078, allocations: 28 kB / 431 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.738e-05/0.1079, allocations: 47.84 kB / 431 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001408/0.1081, allocations: 119.4 kB / 431.2 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003821/0.1084, allocations: 294.7 kB / 431.4 MB, free: 420 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.1084, allocations: 4 kB / 431.4 MB, free: 416 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1084, allocations: 3.938 kB / 431.5 MB, free: 412 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.154e-05/0.1085, allocations: 0 / 431.5 MB, free: 412 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.19/0.2985, allocations: 0.6639 MB / 432.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.151e-05/0.2986, allocations: 10.95 kB / 432.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.343e-05/0.2986, allocations: 9.75 kB / 432.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.967e-05/0.2986, allocations: 55.28 kB / 432.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000263/0.2989, allocations: 41.98 kB / 432.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004172/0.2993, allocations: 248.7 kB / 432.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.095e-05/0.2994, allocations: 50.38 kB / 432.5 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.619e-05/0.2995, allocations: 21.88 kB / 432.5 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006382/0.3001, allocations: 256 kB / 432.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.3001, allocations: 0 / 432.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.014e-05/0.3001, allocations: 10.5 kB / 432.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.3001, allocations: 4.781 kB / 432.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005139/0.3007, allocations: 204.5 kB / 433 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00126/0.3019, allocations: 0.7669 MB / 433.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005266/0.3024, allocations: 252.2 kB / 434 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003596/0.3028, allocations: 195.5 kB / 434.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.765e-05/0.3028, allocations: 1.344 kB / 434.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004372/0.3033, allocations: 310.9 kB / 434.5 MB, free: 10.27 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 2.104e-06/0.3033, allocations: 3.641 kB / 434.5 MB, free: 10.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.00108/0.3043, allocations: 0.5765 MB / 435.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.762e-05/0.3044, allocations: 206.9 kB / 435.3 MB, free: 9.934 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001381/0.3046, allocations: 183.2 kB / 435.5 MB, free: 9.824 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.796e-05/0.3046, allocations: 40.7 kB / 435.5 MB, free: 9.793 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.491e-05/0.3047, allocations: 134.1 kB / 435.7 MB, free: 9.699 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.541e-05/0.3047, allocations: 84.47 kB / 435.7 MB, free: 9.652 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.263e-05/0.3048, allocations: 66.41 kB / 435.8 MB, free: 9.637 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.759e-05/0.3049, allocations: 336.4 kB / 436.1 MB, free: 9.324 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002282/0.3051, allocations: 109.2 kB / 436.2 MB, free: 9.305 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002552/0.3053, allocations: 172.8 kB / 436.4 MB, free: 9.211 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004878/0.3058, allocations: 413.5 kB / 436.8 MB, free: 8.926 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.3058, allocations: 0 / 436.8 MB, free: 8.926 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006605/0.3065, allocations: 441.8 kB / 437.2 MB, free: 8.711 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.257e-05/0.3066, allocations: 94.78 kB / 437.3 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.3066, allocations: 6.656 kB / 437.3 MB, free: 8.613 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/0.3066, allocations: 9.938 kB / 437.3 MB, free: 8.609 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000178/0.3068, allocations: 41.62 kB / 437.4 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.3068, allocations: 3.422 kB / 437.4 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001668/0.3069, allocations: 36.88 kB / 437.4 MB, free: 8.586 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.525e-05/0.307, allocations: 14.48 kB / 437.4 MB, free: 8.582 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 36 (dA_Converter.y,$PRE.dA_Converter.y,aD_Converter.z,$PRE.aD_Converter.z,dA_Converter.x[7],dA_Converter.x[6],dA_Converter.x[5],dA_Converter.x[4],dA_Converter.x[3],dA_Converter.x[2],dA_Converter.x[1],aD_Converter.y[7],$PRE.aD_Converter.y[7],aD_Converter.y[6],$PRE.aD_Converter.y[6],aD_Converter.y[5],$PRE.aD_Converter.y[5],aD_Converter.y[4],$PRE.aD_Converter.y[4],aD_Converter.y[3],$PRE.aD_Converter.y[3],aD_Converter.y[2],$PRE.aD_Converter.y[2],aD_Converter.y[1],$PRE.aD_Converter.y[1],dA_Converter.trig,pulse.sampling,pulse.np,$PRE.pulse.np,pulse.T0,$PRE.pulse.T0,$whenCondition2,$whenCondition1,$whenCondition3,dA_Converter.vout,$PRE.dA_Converter.vout) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 3 * 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.0001746/0.3071, allocations: 240.1 kB / 437.7 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.432e-05/0.3072, allocations: 26.7 kB / 437.7 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.981e-05/0.3072, allocations: 27.14 kB / 437.7 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.828e-06/0.3072, allocations: 3.484 kB / 437.7 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.3072, allocations: 1.312 kB / 437.7 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.3072, allocations: 2.547 kB / 437.7 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001328/0.3086, allocations: 0.9448 MB / 438.7 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.3086, allocations: 0 / 438.7 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001117/0.3087, allocations: 23.94 kB / 438.7 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.3087, allocations: 1.188 kB / 438.7 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.797e-05/0.3087, allocations: 10.2 kB / 438.7 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.3087, allocations: 6.984 kB / 438.7 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3087, allocations: 3.5 kB / 438.7 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000911/0.3096, allocations: 0.6158 MB / 439.3 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.091e-05/0.3097, allocations: 100.5 kB / 439.4 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.597e-05/0.3097, allocations: 16.19 kB / 439.5 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002077/0.3099, allocations: 22.73 kB / 439.5 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.174e-05/0.31, allocations: 24 kB / 439.5 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.696e-05/0.31, allocations: 14.31 kB / 439.5 MB, free: 7.324 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.04e-05/0.3101, allocations: 138.5 kB / 439.6 MB, free: 7.227 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3101, allocations: 0 / 439.6 MB, free: 7.227 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003309/0.3105, allocations: 78.19 kB / 439.7 MB, free: 7.211 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition3,$whenCondition1,$whenCondition2,aD_Converter.y[1],aD_Converter.y[2],aD_Converter.y[3],aD_Converter.y[4],aD_Converter.y[5],aD_Converter.y[6],aD_Converter.y[7],aD_Converter.z,pulse.T0,pulse.np,pulse.sampling,dA_Converter.trig,dA_Converter.x[1],dA_Converter.x[2],dA_Converter.x[3],dA_Converter.x[4],dA_Converter.x[5],dA_Converter.x[6],dA_Converter.x[7],dA_Converter.vout,dA_Converter.y) * Number of discrete states: 13 (pulse.np,aD_Converter.y[7],aD_Converter.y[6],aD_Converter.y[5],aD_Converter.y[4],aD_Converter.y[3],aD_Converter.y[2],aD_Converter.y[1],aD_Converter.z,$whenCondition1,dA_Converter.vout,dA_Converter.y,$whenCondition2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 2 * 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.001123/0.3116, allocations: 1.175 MB / 440.9 MB, free: 6.352 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000792/0.3124, allocations: 0.5244 MB / 441.4 MB, free: 6.066 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3124, allocations: 0 / 441.4 MB, free: 6.066 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004236/0.3128, allocations: 320.8 kB / 441.7 MB, free: 5.883 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007004/0.3135, allocations: 143.3 kB / 441.9 MB, free: 5.863 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00351/0.317, allocations: 2.928 MB / 444.8 MB, free: 3.949 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001819/0.3172, allocations: 0.7404 MB / 445.5 MB, free: 3.25 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001607/0.3174, allocations: 52.08 kB / 445.6 MB, free: 3.246 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001002/0.3175, allocations: 67.52 kB / 445.7 MB, free: 3.199 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3175, allocations: 0 / 445.7 MB, free: 3.199 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02431/0.3418, allocations: 6.634 MB / 452.3 MB, free: 1.961 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.049/8.391, allocations: 9.328 kB / 452.3 MB, free: 1.961 MB / 350.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Analog_Examples_AD_DA_conversion_fmu --startTime=0 --stopTime=0.2 --stepSize=3.57079e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_AD_DA_conversion.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.719716484018136] Failed to read output from testmodel.py, exit status != 0: ['time', 'aD_Converter.z', 'pulse.T0', 'pulse.np'] 8.517583591979928 8.533992944 8.422195791 Calling exit ...