Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.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.00182/0.00182, allocations: 103.6 kB / 21.18 MB, free: 472 kB / 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.002315/0.002315, allocations: 214.4 kB / 24.47 MB, free: 3.793 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.426/1.426, allocations: 207.7 MB / 235.3 MB, free: 9.789 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.SimpleTriacCircuit,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_SimpleTriacCircuit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.SimpleTriacCircuit,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_SimpleTriacCircuit",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.001928/0.001928, allocations: 51.94 kB / 347.2 MB, free: 9.879 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2523/0.2542, allocations: 49.15 MB / 396.4 MB, free: 8.871 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SimpleTriacCircuit): time 0.004339/0.2586, allocations: 3.518 MB / 399.9 MB, free: 6.52 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001812/0.2604, allocations: 0.9939 MB / 400.9 MB, free: 5.812 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000255/0.2606, allocations: 10.16 kB / 400.9 MB, free: 5.809 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002355/0.2609, allocations: 82.05 kB / 401 MB, free: 5.762 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00031/0.2612, allocations: 175.5 kB / 401.1 MB, free: 5.633 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005414/0.2617, allocations: 216 kB / 401.3 MB, free: 5.5 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007326/0.2625, allocations: 0.7638 MB / 402.1 MB, free: 5.098 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002269/0.2627, allocations: 111.6 kB / 402.2 MB, free: 5.035 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000389/0.2631, allocations: 296 kB / 402.5 MB, free: 4.895 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003566/0.2634, allocations: 296.1 kB / 402.8 MB, free: 4.766 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001112/0.2635, allocations: 77.25 kB / 402.9 MB, free: 4.766 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001215/0.2637, allocations: 76.72 kB / 402.9 MB, free: 4.766 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.048e-05/0.2638, allocations: 153.5 kB / 403.1 MB, free: 4.656 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002295/0.264, allocations: 263.2 kB / 403.3 MB, free: 4.508 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00079/0.2648, allocations: 0.8114 MB / 404.2 MB, free: 4.18 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.2648, allocations: 5.094 kB / 404.2 MB, free: 4.176 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.2648, allocations: 3.938 kB / 404.2 MB, free: 4.172 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.243e-05/0.2648, allocations: 0 / 404.2 MB, free: 4.172 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.00235/0.2671, allocations: 0.9218 MB / 405.1 MB, free: 3.586 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.2672, allocations: 13.55 kB / 405.1 MB, free: 3.582 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.867e-05/0.2673, allocations: 71.23 kB / 405.2 MB, free: 3.523 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001065/0.2674, allocations: 61.06 kB / 405.2 MB, free: 3.492 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005491/0.2679, allocations: 340 kB / 405.6 MB, free: 3.23 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.382e-05/0.2679, allocations: 36.47 kB / 405.6 MB, free: 3.207 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.543e-05/0.268, allocations: 40.81 kB / 405.6 MB, free: 3.191 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001275/0.2693, allocations: 0.583 MB / 406.2 MB, free: 2.918 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.2693, allocations: 0 / 406.2 MB, free: 2.918 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.567e-05/0.2694, allocations: 13.11 kB / 406.2 MB, free: 2.91 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.173e-05/0.2694, allocations: 9.281 kB / 406.2 MB, free: 2.91 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001637/0.271, allocations: 0.5715 MB / 406.8 MB, free: 2.734 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003155/0.2742, allocations: 1.823 MB / 408.6 MB, free: 1.496 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003434/0.2776, allocations: 0.7598 MB / 409.4 MB, free: 1.219 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008626/0.2785, allocations: 336.6 kB / 409.7 MB, free: 1.062 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.616e-05/0.2785, allocations: 4.5 kB / 409.7 MB, free: 1.062 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009474/0.2794, allocations: 431.2 kB / 410.1 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of pre-optimization done (n=39): time 1.933e-06/0.2794, allocations: 0 / 410.1 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of matching and sorting (n=39): time 0.008791/0.2882, allocations: 1.711 MB / 411.9 MB, free: 15.93 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.548e-05/0.2883, allocations: 82.52 kB / 411.9 MB, free: 15.83 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005277/0.2888, allocations: 385.2 kB / 412.3 MB, free: 15.59 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.353e-05/0.2889, allocations: 40.52 kB / 412.4 MB, free: 15.55 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001783/0.2891, allocations: 224.6 kB / 412.6 MB, free: 15.35 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001286/0.2892, allocations: 136.8 kB / 412.7 MB, free: 15.23 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001579/0.2894, allocations: 74.47 kB / 412.8 MB, free: 15.18 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001754/0.2895, allocations: 352.8 kB / 413.1 MB, free: 14.83 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008512/0.2904, allocations: 293.8 kB / 413.4 MB, free: 14.68 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008962/0.2913, allocations: 362.4 kB / 413.8 MB, free: 14.45 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001614/0.2929, allocations: 0.5519 MB / 414.3 MB, free: 14.14 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.2929, allocations: 0 / 414.3 MB, free: 14.14 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.004547/0.2975, allocations: 1.077 MB / 415.4 MB, free: 13.57 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.84e-05/0.2975, allocations: 32.11 kB / 415.4 MB, free: 13.54 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/0.2975, allocations: 0 / 415.4 MB, free: 13.54 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001235/0.2987, allocations: 406.4 kB / 415.8 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004445/0.2992, allocations: 85.36 kB / 415.9 MB, free: 13.31 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008302/0.3075, allocations: 3.493 MB / 419.4 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007017/0.3082, allocations: 93.55 kB / 419.5 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.299e-05/0.3083, allocations: 8.188 kB / 419.5 MB, free: 10.66 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 (pulseCurrent.signalSource.count,$PRE.pulseCurrent.signalSource.count,pulseCurrent.signalSource.T_start,$PRE.pulseCurrent.signalSource.T_start,simpleTriac.idealDiode1.off,simpleTriac.idealDiode.off,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0003173/0.3086, allocations: 174.7 kB / 419.7 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001179/0.3087, allocations: 48.25 kB / 419.7 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001318/0.3088, allocations: 54.44 kB / 419.8 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.3088, allocations: 3.938 kB / 419.8 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.3088, allocations: 1.25 kB / 419.8 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.204e-06/0.3088, allocations: 3.984 kB / 419.8 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007513/0.3096, allocations: 467 kB / 420.2 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.273e-06/0.3096, allocations: 3.984 kB / 420.2 MB, free: 10.06 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004304/0.31, allocations: 75.72 kB / 420.3 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00113/0.3112, allocations: 394.8 kB / 420.7 MB, free: 9.848 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.02e-05/0.3112, allocations: 10.34 kB / 420.7 MB, free: 9.84 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008195/0.3194, allocations: 3.501 MB / 424.2 MB, free: 6.621 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.3194, allocations: 0 / 424.2 MB, free: 6.621 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004515/0.3239, allocations: 1.244 MB / 425.5 MB, free: 5.355 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003272/0.3242, allocations: 99.56 kB / 425.6 MB, free: 5.258 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001071/0.3244, allocations: 12 kB / 425.6 MB, free: 5.246 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005506/0.3249, allocations: 63.92 kB / 425.6 MB, free: 5.184 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001536/0.3251, allocations: 51.91 kB / 425.7 MB, free: 5.133 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.69e-05/0.3251, allocations: 8 kB / 425.7 MB, free: 5.125 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.00037/0.3255, allocations: 275.2 kB / 426 MB, free: 4.855 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3255, allocations: 0 / 426 MB, free: 4.855 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006703/0.3261, allocations: 175.8 kB / 426.1 MB, free: 4.684 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (L.i,simpleTriac.thyristor.vControl,simpleTriac.thyristor1.vControl) * Number of discrete variables: 5 ($whenCondition1,simpleTriac.idealDiode.off,simpleTriac.idealDiode1.off,pulseCurrent.signalSource.T_start,pulseCurrent.signalSource.count) * Number of discrete states: 1 (pulseCurrent.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004862/0.331, allocations: 1.807 MB / 427.9 MB, free: 2.844 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002555/0.3336, allocations: 0.8855 MB / 428.8 MB, free: 1.926 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3336, allocations: 4.062 kB / 428.8 MB, free: 1.922 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001477/0.335, allocations: 0.522 MB / 429.3 MB, free: 1.387 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005562/0.3356, allocations: 93.58 kB / 429.4 MB, free: 1.297 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01381/0.3494, allocations: 5.563 MB / 435 MB, free: 11.61 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002677/0.3497, allocations: 224.6 kB / 435.2 MB, free: 11.36 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002395/0.3499, allocations: 51.19 kB / 435.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002512/0.3502, allocations: 151.4 kB / 435.4 MB, free: 11.17 MB / 350.1 MB Notification: Performance of SimCode: time 1.102e-06/0.3502, allocations: 0 / 435.4 MB, free: 11.17 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05812/0.4083, allocations: 17.92 MB / 453.3 MB, free: 9.141 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.24/13.65, allocations: 11.98 kB / 453.3 MB, free: 9.129 MB / 366.1 MB " [Timeout remaining time 646] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit_res.csv --start-time 0 --stop-time 0.001 --timeout 50 --relative-tolerance 1e-12 --interface-type ModelExchange --solver CVode --output-interval 5e-07 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_SimpleTriacCircuit.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.214529898948967] Failed to read output from testmodel.py, exit status != 0: ['time', 'L.i', 'simpleTriac.thyristor.vControl', 'simpleTriac.thyristor1.vControl'] 13.776945120655 13.80771655 13.53722794 Calling exit ...