Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001219/0.001219, allocations: 108.6 kB / 21.22 MB, free: 0.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 192.8 kB / 24.5 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.343/1.343, allocations: 225.7 MB / 253.3 MB, free: 13.05 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.AD_DA_conversion,fileNamePrefix="Modelica_4_0_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_0_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.00141/0.00141, allocations: 47.92 kB / 371.2 MB, free: 9.879 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2302/0.2316, allocations: 52.19 MB / 423.4 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.003769/0.2354, allocations: 2.379 MB / 425.8 MB, free: 12.23 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001225/0.2366, allocations: 0.6855 MB / 426.5 MB, free: 11.54 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.363e-05/0.2367, allocations: 3.938 kB / 426.5 MB, free: 11.54 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001598/0.2368, allocations: 35.7 kB / 426.5 MB, free: 11.5 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000106/0.2369, allocations: 59.48 kB / 426.6 MB, free: 11.45 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000314/0.2373, allocations: 95.7 kB / 426.7 MB, free: 11.35 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003299/0.2376, allocations: 255.1 kB / 426.9 MB, free: 11.1 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001951/0.2378, allocations: 79.59 kB / 427 MB, free: 11.02 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00019/0.238, allocations: 119.6 kB / 427.1 MB, free: 10.9 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001851/0.2382, allocations: 115.5 kB / 427.2 MB, free: 10.79 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.341e-05/0.2382, allocations: 24 kB / 427.3 MB, free: 10.77 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.824e-05/0.2382, allocations: 24 kB / 427.3 MB, free: 10.74 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.696e-05/0.2383, allocations: 55.78 kB / 427.3 MB, free: 10.69 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001364/0.2384, allocations: 123.4 kB / 427.5 MB, free: 10.57 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003358/0.2388, allocations: 279.7 kB / 427.7 MB, free: 10.3 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.646e-06/0.2388, allocations: 0 / 427.7 MB, free: 10.3 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2388, allocations: 0 / 427.7 MB, free: 10.3 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.578e-06/0.2388, allocations: 0 / 427.7 MB, free: 10.3 MB / 334.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.0009953/0.2398, allocations: 0.6078 MB / 428.3 MB, free: 9.641 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.2398, allocations: 8.031 kB / 428.3 MB, free: 9.633 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.518e-05/0.2398, allocations: 12.12 kB / 428.4 MB, free: 9.621 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.974e-05/0.2399, allocations: 54.73 kB / 428.4 MB, free: 9.559 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.217e-05/0.24, allocations: 28.8 kB / 428.4 MB, free: 9.531 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002962/0.2403, allocations: 178.9 kB / 428.6 MB, free: 9.328 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.594e-05/0.2404, allocations: 75.95 kB / 428.7 MB, free: 9.242 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.88e-05/0.2404, allocations: 28.12 kB / 428.7 MB, free: 9.215 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005589/0.241, allocations: 252.1 kB / 429 MB, free: 8.961 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.241, allocations: 0 / 429 MB, free: 8.961 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.451e-05/0.241, allocations: 4 kB / 429 MB, free: 8.957 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.241, allocations: 7.938 kB / 429 MB, free: 8.949 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004844/0.2415, allocations: 204.3 kB / 429.2 MB, free: 8.75 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001279/0.2428, allocations: 0.728 MB / 429.9 MB, free: 7.965 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005573/0.2433, allocations: 255.2 kB / 430.2 MB, free: 7.707 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004037/0.2437, allocations: 187.8 kB / 430.3 MB, free: 7.523 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.053e-05/0.2437, allocations: 8 kB / 430.3 MB, free: 7.516 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00051/0.2443, allocations: 308.3 kB / 430.6 MB, free: 7.184 MB / 334.1 MB Notification: Performance of pre-optimization done (n=31): time 1.282e-06/0.2443, allocations: 0 / 430.6 MB, free: 7.184 MB / 334.1 MB Notification: Performance of matching and sorting (n=31): time 0.001181/0.2454, allocations: 0.5841 MB / 431.2 MB, free: 6.582 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000134/0.2456, allocations: 207.8 kB / 431.4 MB, free: 6.336 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001775/0.2457, allocations: 182.4 kB / 431.6 MB, free: 6.148 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.748e-05/0.2458, allocations: 37.7 kB / 431.6 MB, free: 6.105 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/0.2459, allocations: 132.9 kB / 431.8 MB, free: 5.973 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.68e-05/0.246, allocations: 87.38 kB / 431.9 MB, free: 5.887 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001031/0.2461, allocations: 66.02 kB / 431.9 MB, free: 5.812 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001599/0.2462, allocations: 338.8 kB / 432.3 MB, free: 5.473 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002345/0.2465, allocations: 104.6 kB / 432.4 MB, free: 5.367 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002868/0.2467, allocations: 175.1 kB / 432.5 MB, free: 5.176 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005656/0.2473, allocations: 415.3 kB / 432.9 MB, free: 4.723 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.2473, allocations: 7.938 kB / 432.9 MB, free: 4.715 MB / 334.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000698/0.248, allocations: 445.6 kB / 433.4 MB, free: 4.258 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.182e-05/0.2481, allocations: 105 kB / 433.5 MB, free: 4.137 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.2481, allocations: 0 / 433.5 MB, free: 4.137 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.2481, allocations: 4 kB / 433.5 MB, free: 4.133 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001775/0.2483, allocations: 39.91 kB / 433.5 MB, free: 4.094 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.2483, allocations: 3.938 kB / 433.5 MB, free: 4.09 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001799/0.2485, allocations: 31.88 kB / 433.6 MB, free: 4.059 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.278e-05/0.2485, allocations: 12 kB / 433.6 MB, free: 4.047 MB / 334.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.0002323/0.2487, allocations: 243.8 kB / 433.8 MB, free: 3.789 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.419e-05/0.2488, allocations: 27.8 kB / 433.8 MB, free: 3.762 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.69e-05/0.2488, allocations: 22.66 kB / 433.9 MB, free: 3.738 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.2488, allocations: 4 kB / 433.9 MB, free: 3.734 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.2488, allocations: 0 / 433.9 MB, free: 3.734 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.2488, allocations: 3.984 kB / 433.9 MB, free: 3.73 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001454/0.2503, allocations: 0.9074 MB / 434.8 MB, free: 2.758 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.2503, allocations: 3.938 kB / 434.8 MB, free: 2.754 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00011/0.2504, allocations: 27.91 kB / 434.8 MB, free: 2.727 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.2504, allocations: 4.031 kB / 434.8 MB, free: 2.723 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.52e-05/0.2504, allocations: 12 kB / 434.8 MB, free: 2.711 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.2504, allocations: 0 / 434.8 MB, free: 2.711 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2504, allocations: 192 / 434.8 MB, free: 2.711 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009619/0.2514, allocations: 0.6205 MB / 435.4 MB, free: 2.059 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.426e-05/0.2514, allocations: 23.8 kB / 435.5 MB, free: 2.035 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.879e-05/0.2515, allocations: 19.98 kB / 435.5 MB, free: 2.016 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002015/0.2517, allocations: 15.98 kB / 435.5 MB, free: 2 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.244e-05/0.2518, allocations: 31.84 kB / 435.5 MB, free: 1.969 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.603e-05/0.2518, allocations: 11.98 kB / 435.5 MB, free: 1.957 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001152/0.2519, allocations: 136.3 kB / 435.7 MB, free: 1.824 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2519, allocations: 0 / 435.7 MB, free: 1.824 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003203/0.2522, allocations: 75.94 kB / 435.7 MB, free: 1.75 MB / 334.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.001311/0.2535, allocations: 1.179 MB / 436.9 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008054/0.2543, allocations: 0.5096 MB / 437.4 MB, free: 15.98 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.2544, allocations: 0 / 437.4 MB, free: 15.98 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004531/0.2548, allocations: 322.6 kB / 437.8 MB, free: 15.64 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006735/0.2555, allocations: 154.4 kB / 437.9 MB, free: 15.5 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003814/0.2593, allocations: 2.922 MB / 440.8 MB, free: 12.45 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003692/0.2597, allocations: 0.7484 MB / 441.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001474/0.2598, allocations: 49.89 kB / 441.6 MB, free: 11.63 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001082/0.2599, allocations: 63.8 kB / 441.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of SimCode: time 5.81e-07/0.2599, allocations: 0 / 441.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02723/0.2871, allocations: 6.9 MB / 448.6 MB, free: 4.863 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.81/11.09, allocations: 0 / 448.6 MB, free: 4.863 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion_res.mat --tempDir=temp_Modelica_4_0_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_0_0_Modelica_Electrical_Analog_Examples_AD_DA_conversion.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.34251490101451] Failed to read output from testmodel.py, exit status != 0: ['time', 'aD_Converter.z', 'pulse.T0', 'pulse.np'] 11.255536443029996 11.279713693 11.036421782 Calling exit ...